Examples

DELETE /api/users/988725682/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": "2021-09-11T10:46:49.018Z",
  "last_used_at": null,
  "user_id": 988725682,
  "created_at": "2021-09-01T10:46:49.019Z",
  "updated_at": "2021-09-01T10:46:49.049Z"
}

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