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