Examples

DELETE /api/users/988725678/personal_access_tokens/1
{
  "personal_access_token": {}
}
200
{
  "id": 1,
  "revoked": true,
  "token": "$2a$05$fe5dbbcea5ce7e2988b8cu51c9MzSrcUh55GAHmb3QDsL5XyXKZVe",
  "name": "Personal Access Token 8",
  "expires_at": "2019-11-17T08:45:43.434Z",
  "last_used_at": null,
  "user_id": 988725678,
  "created_at": "2019-11-07T08:45:43.437Z",
  "updated_at": "2019-11-07T08:45:43.462Z"
}

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