Create a personal access token
Creates a new personal access token.
POST/v3/personal-access-tokens
JWT
personalAccessToken:write
Request Body Schema
| Property | Type | Description | Constraints |
|---|---|---|---|
| name* | string | Name of the access token. | min: 1, max: 256 |
| revoked | boolean | Set true to revoke the token. | |
| expiresAt | string | The date (UTC) after which the token will expire. | format: date-time |
| scopes* | array | List of permissions for the token. | items: string |
Request Example
Responses
201
400
401
403
409
429
500