Use API tokens to make secure HTTP requests to LogichHub service APIs.
For your protection, you should never share your tokens with anyone. As a best practice, we recommend a frequent change in the token.
- Go to Settings > Security > API Tokens. A list of API tokens will be displayed.
- Click New Token on the right to create a new token.
- Click on the three dots on the right on any of the tokens to delete a token or select multiple tokens using the checkbox and click on the Delete button.
These tokens assume the (RBAC) role of the user who created them, that is, the same user permissions are available to the token who created it.
Use api token in 'X-Auth-Token' http header.
curl -X GET \ https://<hostname>/api/version \ -H 'Content-Type: application/json' \ -H 'X-Auth-Token: <API Token>'
Updated 7 months ago