AccessToken [v1]
/auth/v1/accesstoken
post Create an API Token
Creates a new API access token for the current authenticated user. The token inherits the same permissions as the user and can be used for API authentication. It can be configured with an optional expiration time. If no expiration is set, the token will be permanent.
Request Body
Response
201AccessToken: Successfully created access token401: Unauthorized - Invalid or missing authentication credentials
AccessTokenRequest
expiration:integerToken expiration timestamp in seconds. For permanent tokens, leave this field empty or omit it.
description:stringDescription of the token
AccessToken
id:stringUnique identifier of the token
token:stringThe access token in JWT format
timestamp:integerToken issuance timestamp in seconds
expiration:integerToken expiration timestamp in seconds
description:stringDescription of the token