示例

GET /api/users/988725683/personal_access_tokens/3
200
{
  "created_at": "2019-09-11 14:33:21 UTC",
  "updated_at": "2019-09-11 14:33:21 UTC",
  "id": 3,
  "name": "Personal Access Token 3",
  "expires_at": "2019-09-21 14:33:21 UTC",
  "active?": true,
  "user_id": 988725683,
  "last_used_at": null
}

參數

參數名字 描述
location_id
選填

位置範圍

Validations:

  • Must be a Integer

organization_id
選填

組織範圍

Validations:

  • Must be a Integer

id
必填

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
必填

ID of the user

Validations:

  • Must be a String