UpdateKeysRequestBody - Python SDK

UpdateKeysRequestBody method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
disabledOptional[bool]Whether to disable the API keyfalse
include_byok_in_limitOptional[bool]Whether to include BYOK usage in the limittrue
limitOptionalNullable[float]New spending limit for the API key in USD75
limit_resetOptionalNullable[operations.UpdateKeysLimitReset]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.daily
nameOptional[str]New name for the API keyUpdated API Key Name