Examples

DELETE /api/users/988725682/personal_access_tokens/7
{
  "personal_access_token": {}
}
200
{
  "id": 7,
  "revoked": true,
  "token": "$2a$05$0716d9708d321ffb6a008ubr8D5S35xLlSFwbxGfj3Wvx3vrg956q",
  "name": "Personal Access Token 17",
  "expires_at": "2021-05-29T07:35:56.603Z",
  "last_used_at": null,
  "user_id": 988725682,
  "created_at": "2021-05-19T07:35:56.604Z",
  "updated_at": "2021-05-19T07:35:56.617Z"
}

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