Personal Access Tokens (PAT)
API endpoints to create, list, activate, and revoke personal access tokens (PATs) used to authenticate API requests on behalf of a user.
Create a Personal Access Token
Personal Access Token object
ID of the credential associated with the access token.
Whether the access token is active.
Access token kind.
Pat, ServiceAccount, Token, Code, Recovery, Temp, Application User id.
1 - 64^us-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"us-6b58p-r53sr-rlrd3l5cj3uc4ome"
ID of the application the access token is linked to.
1 - 64^ap-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"ap-2a9in-tt2a1-983lho480p35ejd0"
Human-readable name of the access token.
Organization id.
1 - 64^or-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"or-30tnh-itmjs-s235s5ontr3r23h2"
Permissions (roles) assigned to the access token.
Public key associated with the access token.
Token id.
1 - 64^to-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"to-202a0-cdo33-o65mbt6q758lvvnt"
The access token. Only returned at creation time.