Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Response

Key rotated successfully

Response from a successful API key rotation

api_key
string

The new API key. Store securely — it will not be shown again.

masked_key
string

Masked version of the key showing first 4 and last 4 characters (e.g. a1b2****5678)

expires_at
string<date-time>

Expiration timestamp of the new API key