Tokens are used to authenticate other applications in BigPicture. Your tokens need to be treated as securely as any other password.
Add a new token
- Click the "Add new token" button.
- Enter a token name and click "Create".
- The token is masked. You can view the token or simply copy it to a clipboard
Revoke a token
This action cannot be reversed.
- Click the "Revoke" button.
- Click "Revoke" to confirm.
How to add token to a request?
To use API Token you have to add it to requests' Authorization headers in the following manner: Authorization: Bearer paste_your_api_token_here
.
Example:
curl --request GET \
--url {base URL}/public/ppm/box/box-hierarchy \
--header 'Authorization: Bearer paste_your_api_token_here' \
--header 'accept: application/json'