Examples

DELETE /api/users/988725685/personal_access_tokens/7
{
  "personal_access_token": {}
}
200
{
  "id": 7,
  "revoked": true,
  "token": "$2a$05$902ba3cda1883801594b6euDV9QJ6sqK6dZaU9/4tivo5WU/omuUC",
  "name": "Personal Access Token 7",
  "expires_at": "2020-03-21T11:19:40.064Z",
  "last_used_at": null,
  "user_id": 988725685,
  "created_at": "2020-03-11T11:19:40.065Z",
  "updated_at": "2020-03-11T11:19:40.079Z"
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be a String

user_id
required

ID of the user

Validations:

  • Must be a String