Examples

DELETE /api/users/988725678/personal_access_tokens/1
{
  "personal_access_token": {}
}
200
{
  "id": 1,
  "revoked": true,
  "token": "$2a$05$1574bddb75c78a6fd2251OmB3oc5YzgcKRrLje.L0ZbkuhAJuLwii",
  "name": "Personal Access Token 16",
  "expires_at": "2021-12-06T11:16:06.335Z",
  "last_used_at": null,
  "user_id": 988725678,
  "created_at": "2021-11-26T11:16:06.336Z",
  "updated_at": "2021-11-26T11:16:06.567Z"
}

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