Update API key
Updates an existing API key. Requires a Provisioning API key.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Path parameters
hash
Request
This endpoint expects an object.
name
New display name for the key
disabled
Whether the key should be disabled
limit
New credit limit for the key
limit_reset
New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday.
Allowed values:
include_byok_in_limit
Whether to include BYOK usage in the credit limit
Response
Updated API key
data