Examples

DELETE /api/users/988725681/personal_access_tokens/7
{
  "personal_access_token": {}
}
200
{
  "id": 7,
  "revoked": true,
  "token": "$2a$05$f1abd670358e036c31296eFKlK/ndcj03vXppvopiBPYxax7yG8KG",
  "name": "Personal Access Token 15",
  "expires_at": "2021-05-28T16:11:12.527Z",
  "last_used_at": null,
  "user_id": 988725681,
  "created_at": "2021-05-18T16:11:12.529Z",
  "updated_at": "2021-05-18T16:11:12.555Z"
}

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