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"
}