Examples

DELETE /api/users/988725678/personal_access_tokens/1
{
  "personal_access_token": {}
}
200
{
  "id": 1,
  "revoked": true,
  "token": "d626a4e66556ddd805bbaa317a9e6442bc24a5ef",
  "name": "Personal Access Token 5",
  "expires_at": "2018-11-26T10:03:32.816Z",
  "last_used_at": null,
  "user_id": 988725678,
  "created_at": "2018-11-16T10:03:32.817Z",
  "updated_at": "2018-11-16T10:03:32.828Z"
}

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