Examples

DELETE /api/users/988725698/personal_access_tokens/1
{
  "personal_access_token": {}
}
200
{
  "id": 1,
  "revoked": true,
  "token": "$2a$05$0716d9708d321ffb6a008ubr8D5S35xLlSFwbxGfj3Wvx3vrg956q",
  "name": "Personal Access Token 17",
  "expires_at": "2020-05-30T13:45:15.702Z",
  "last_used_at": null,
  "user_id": 988725698,
  "created_at": "2020-05-20T13:45:15.704Z",
  "updated_at": "2020-05-20T13:45:15.725Z"
}

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