POST

授权

x-api-key
string
header
必填

请求头

Idempotency-Key
string

Replays the first result of a create; the same key with another body is 400 idempotency_key_reused, one while the first still runs 409 idempotency_key_in_use.

Required string length: 1 - 255

请求体

application/json
name
string
必填
expires_at
string<date-time> | null

响应

Success.

type
string
必填

Always personal_access_token.

Allowed value: "personal_access_token"
id
string
必填
name
string
必填
created_at
string<date-time>
必填
expires_at
string<date-time> | null
必填
partial_key_hint
string
必填
status
enum<string>
必填
可用选项:
active,
expired,
archived
value
string
必填