Request This endpoint expects an object.
name string Optional
A human-friendly name for the access token
description string Optional
A description for the access token
role enum Optional
Base role for the token
Allowed values: reader writer admin
customRoleIds list of strings Optional
A list of custom role IDs to use as access limits for the access token
inlineRole list of objects Optional
A JSON array of statements represented as JSON objects with three attributes: effect, resources, actions. May be used in place of a role.
serviceToken boolean Optional
Whether the token is a service token
defaultApiVersion integer Optional
The default API version for this token
Response Access token response
_id string
The ID of the access token
ownerId string
The ID of the owner of the account for the access token
memberId string
The ID of the member who created the access token
creationDate long
Timestamp of when the access token was created
lastModified long
Timestamp of the last modification of the access token
_links map from strings to objects
The location and content type of related resources
_member object
Details on the member who created the access token
name string
A human-friendly name for the access token
description string
A description for the access token
customRoleIds list of strings
A list of custom role IDs to use as access limits for the access token
inlineRole list of objects
An array of policy statements, with three attributes: effect, resources, actions. May be used in place of a role.
role string
Base role for the token
token string
The token value. When creating or resetting, contains the entire token value. Otherwise, contains the last four characters.
serviceToken boolean
Whether this is a service token or a personal token
defaultApiVersion integer
The default API version for this token
lastUsed long
Timestamp of when the access token was last used