v1
latestOpenAPI 3.0.32026-07-232011984.8 KBapi token
Create an api token
post/api-tokens
Request body
allowedCIDRBlocksstring[]
The set of CIDR blocks that are allowed to use this API token. If empty, all CIDR blocks are allowed
namestring required
The name of the token
permissionsstring[] required
Response
OK response.
allowedCIDRBlocksstring[]
The set of CIDR blocks that are allowed to use this API token. If empty, all CIDR blocks are allowed
createdAtstring required
Time when the API token was created
expiresAtstring
Time when the API token will expire. Will be null if the token is non-expiring
idstring required
The unique identifier of the token
lastUsedAtstring
The last time this token was used to authenticate
namestring required
The name of the token
permissionsstring[] required
rotatedAtstring
Time when the API token was rotated
updatedAtstring
Time when the API token was updated
valuestring
The API token value, only populated during create and rotate actions