DELETE /api/users/988725851/personal_access_tokens/1
{
"personal_access_token": {}
}
200
{
"id": 1,
"revoked": true,
"token": "$2a$05$356a192b7913b04c54574OAyvLzfrb5V63Cd4R4Iovui5tDQlYeWa",
"name": "Personal Access Token 1",
"expires_at": "2022-04-08T08:24:44.251Z",
"last_used_at": null,
"user_id": 988725851,
"created_at": "2022-03-29T08:24:44.270Z",
"updated_at": "2022-03-29T08:24:44.497Z"
}
| Param name | Description |
|---|---|
|
location_id optional |
Set the current location context for the request Validations:
|
|
organization_id optional |
Set the current organization context for the request Validations:
|
|
id required |
Validations:
|
|
user_id required |
ID of the user Validations:
|