PersonalAccessTokenCreated
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id * |
string | |
name * |
string | |
prefix * |
string | First characters of the token, for recognition. |
workspace_id |
string or null | |
scopes * |
array of Scope | |
expires_at |
string (date-time) or null | |
last_used_at |
string (date-time) or null | |
created_at * |
string (date-time) | |
token * |
string | The token. Shown once; store it now. |
* always present
Example
Section titled “Example”{ "id": "pat_01jbx2m9k7q4r8t5v6w3y0z1pr", "name": "string", "prefix": "guv_pat_7Hc2", "workspace_id": "string", "scopes": [ "deploy:staging" ], "expires_at": "2026-10-22T13:05:00Z", "last_used_at": "2026-10-22T13:05:00Z", "created_at": "2026-10-22T13:05:00Z", "token": "string"}