Examples

DELETE /api/users/988725709/personal_access_tokens/3
{
  "personal_access_token": {}
}
200
{
  "revoked": true,
  "id": 3,
  "token": "$2a$05$ac3478d69a3c81fa62e60ele1oE57JdenH24BFoVpcF3eviAZ.QO6",
  "name": "Personal Access Token 5",
  "expires_at": "2022-09-16T14:51:01.226Z",
  "last_used_at": null,
  "user_id": 988725709,
  "created_at": "2022-09-06T14:51:01.227Z",
  "updated_at": "2022-09-06T14:51:01.402Z"
}

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