POST: Generate a New Company API Token

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.

description

* Required.

[Body] Assign a description of the company API token.

Value: [String]

group

[Body] Assign the token to an Access Control Group.

Value: [String] null = The token is assigned to the default group.

Example Request

cURL Example

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 Example

{
  "description":"A company API token for My Group.",
  "group":"My Group"
}
  • December 14, 2020: Added example JSON body.
  • September 11, 2019: Published.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.