DELETE /api/users/988725682/personal_access_tokens/2
{
"personal_access_token": {}
}
200
{
"id": 2,
"revoked": true,
"token": "$2a$05$da4b9237bacccdf19c076uP.zXXGisdweoj.B9LhaHca2VWwv.n02",
"name": "Personal Access Token 2",
"expires_at": "2019-09-21T14:33:21.603Z",
"last_used_at": null,
"user_id": 988725682,
"created_at": "2019-09-11T14:33:21.604Z",
"updated_at": "2019-09-11T14:33:21.617Z"
}
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
id required |
Validations:
|
|
user_id required |
ID of the user Validations:
|