示例

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

Validations:

  • Must be a String