Reset access token (legacy)
Reset an access token’s secret key with an optional expiry time for the old key. Use of this legacy handler is discouraged. Patch the expiry field on the token directly instead.
Authorizations
Path Parameters
The ID of the access token to update
Query Parameters
An expiration time for the old token key, expressed as a Unix epoch time in milliseconds. By default, the token will expire immediately.
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"