v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
Users

Add personal access token

Add a new personal access token for the user.

post/api/users/{userId}/personal-access-tokens

Path parameters

userIdstring required

The unique identifier of the user.

Request body

namestring required

The personal access token name. Must be unique within the user.

expiresAtnumber nullable

The epoch time in milliseconds when the token will expire. If not provided, the token will never expire.

Response

The personal access token was added successfully.

tenantIdstring required
userIdstring required
namestring required
valuestring required
createdAtnumber required
expiresAtnumber nullable required