Examples

GET /api/users/988725685/personal_access_tokens/7
200
{
  "created_at": "2019-02-20 13:34:48 UTC",
  "updated_at": "2019-02-20 13:34:48 UTC",
  "id": 7,
  "name": "Personal Access Token 11",
  "expires_at": "2019-03-02 13:34:48 UTC",
  "active?": true,
  "user_id": 988725685,
  "last_used_at": null
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

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