CreateTokenRequest
Request to create a personal access token.
namestringnullable
Human-readable label for the token. Required; at most 128 characters.
scopesTokenScope (string)[]nullable
The permissions granted to the token. Required and non-empty; each value must be a valid
TokenScope. If Write is included, Read must also be included.
Possible values: [Read, Write, Admin]
expiresAtstring<date-time>nullable
Optional expiry timestamp (UTC). When omitted the token never expires; when provided it must be in the future.
CreateTokenRequest
{
"name": "string",
"scopes": [
"Read"
],
"expiresAt": "2024-07-29T15:51:28.071Z"
}