UpdateKeysRequestBody - Go SDK
UpdateKeysRequestBody - Go SDK
UpdateKeysRequestBody type definition
UpdateKeysRequestBody - Go SDK
The Go SDK and docs are currently in beta. Report issues on GitHub.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Disabled | *bool | âž– | Whether to disable the API key | false |
IncludeByokInLimit | *bool | âž– | Whether to include BYOK usage in the limit | true |
Limit | optionalnullable.OptionalNullable[float64] | âž– | New spending limit for the API key in USD | 75 |
LimitReset | optionalnullable.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 |
Name | *string | âž– | New name for the API key | Updated API Key Name |