Create access token
Create a new access token.
Authorizations
Body
A human-friendly name for the access token
A description for the access token
Base role for the token
reader, writer, admin A list of custom role IDs to use as access limits for the access token
A JSON array of statements represented as JSON objects with three attributes: effect, resources, actions. May be used in place of a role.
Whether the token is a service token
The default API version for this token
Response
Access token response
The ID of the access token
"61095542756dba551110ae21"
The ID of the owner of the account for the access token
"569f514156e003339cfd3917"
The ID of the member who created the access token
"569f514183f2164430000002"
Timestamp of when the access token was created
"1628001602644"
Timestamp of the last modification of the access token
"1628001602644"
The location and content type of related resources
Details on the member who created the access token
A human-friendly name for the access token
"Example reader token"
A description for the access token
"A reader token used in testing and examples"
A list of custom role IDs to use as access limits for the access token
An array of policy statements, with three attributes: effect, resources, actions. May be used in place of a role.
Base role for the token
"reader"
The token value. When creating or resetting, contains the entire token value. Otherwise, contains the last four characters.
"1234"
Whether this is a service token or a personal token
false
The default API version for this token
20240415
Timestamp of when the access token was last used
"0"
Timestamp of when the access token expires. Omitted when the token has no expiry.
"1735689600000"