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 |