UpdateKeysRequestBody - Go SDK

UpdateKeysRequestBody type definition

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

Fields

FieldTypeRequiredDescriptionExample
Name*stringâž–New name for the API keyUpdated API Key Name
Disabled*boolâž–Whether to disable the API keyfalse
Limit*float64âž–New spending limit for the API key in USD75
LimitResetoptionalnullable.OptionalNullable[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
IncludeByokInLimit*boolâž–Whether to include BYOK usage in the limittrue