Examples

GET /api/users/988725677/personal_access_tokens/1
200
{
  "created_at": "2021-11-26 11:25:22 UTC",
  "updated_at": "2021-11-26 11:25:22 UTC",
  "id": 1,
  "name": "Personal Access Token 17",
  "expires_at": "2021-12-06 11:25:22 UTC",
  "active?": true,
  "user_id": 988725677,
  "last_used_at": null,
  "revoked?": false
}

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 an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

user_id
required

ID of the user

Validations:

  • Must be a String