Personal Access Tokens
Create a new personal access token
Create a new personal access token. A maximum of 10 personal access tokens can be created.
post/v3/users/{userId}/access-tokens
Request body
Example request
{
"expires_at": "2022-11-04T20:10:06.927Z"
}Response
Response containing details of the created personal access token.
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"user_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"revoked_by": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"last_used_at": "2022-11-04T20:10:06.927Z",
"expires_at": "2022-11-04T20:10:06.927Z",
"revoked_at": "2022-11-04T20:10:06.927Z"
}Changes
Changed in 3 of the 75 revisions of this API.124
- ○
added to the request body
oneOflistrequest-body-one-of-added
- ○
request property
///deprecatedrequest-property-deprecated
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the request's body type changed from
objectto no typerequest-body-type-changed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ○
added to the request body
oneOflistrequest-body-one-of-added
- ▲
- ○
endpoint added
endpoint-added
- ○