Examples

DELETE /api/users/988725682/personal_access_tokens/3
{
  "personal_access_token": {}
}
200
{
  "id": 3,
  "revoked": true,
  "token": "d8c3ca24091552c7360fac45422aa0c7506dc3e6",
  "name": "Personal Access Token 8",
  "expires_at": "2019-03-02T13:34:48.666Z",
  "last_used_at": null,
  "user_id": 988725682,
  "created_at": "2019-02-20T13:34:48.668Z",
  "updated_at": "2019-02-20T13:34:48.680Z"
}

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