POST

Authorizations

x-api-key
string
header
required

Headers

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

Body

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

Response

Success.

type
string
required

Always personal_access_token.

Allowed value: "personal_access_token"
id
string
required
name
string
required
created_at
string<date-time>
required
expires_at
string<date-time> | null
required
partial_key_hint
string
required
status
enum<string>
required
Available options:
active,
expired,
archived
value
string
required