- December 14, 2020: Added example JSON body.
- September 11, 2019: Published.
https://api.bitsighttech.com/ratings/v1/customers/current/api-tokens
Generate a new company API token for your Bitsight account. See the best practices for API token management.
Parameters
*Required.
See query parameters for details on the format
parameter.
Parameter | Description | Value |
---|---|---|
descriptionBody |
Assign a description of the company API token. | [String] |
groupBody |
Assign the token to an Access Control Group. | [String] null = The token is assigned to the default group. |
Example Request
cURL:
curl -X POST 'https://api.bitsighttech.com/ratings/v1/customers/current/api-tokens' -u api_token: --header "Content-Type:application/json" --data-ascii '{"description": "A company API token for My Group.", "group": "My Group"}'
JSON:
{ "description":"A company API token for My Group.", "group":"My Group" }