Skip to main content
POST
Rotate an API key with a zero-downtime overlap window

Authorizations

X-API-Key
string
header
required

Issue from /v1/keys (or admin-issued for enterprise tier).

Headers

authorization
string | null
X-API-Key
string | null
POLY_API_KEY
string | null
Poly-API-Key
string | null

Path Parameters

key_id
integer
required

Response

Successful Response

Returned once on creation — the raw key is NOT stored.

id
integer
required
raw_key
string
required
key_prefix
string
required
rate_limit_tier
string
required
permissions
string[]
required
created_at
string
required
name
string | null