Ejemplos

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"
}

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be a String

user_id
requerido

ID del usuario

Validations:

  • Must be a String