Examples

DELETE /api/users/980190965/personal_access_tokens/4
{
  "personal_access_token": {}
}
200
{
  "id": 4,
  "revoked": true,
  "token": "a6714e4f59fb80c7414d2582dddcacd8a62a1271",
  "name": "Personal Access Token 5",
  "expires_at": "2018-08-03T13:10:48.516Z",
  "last_used_at": null,
  "user_id": 980190965,
  "created_at": "2018-07-24T13:10:48.517Z",
  "updated_at": "2018-07-24T13:10:48.534Z"
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be a String

user_id
required

ID of the user

Validations:

  • Must be a String