> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-a46887cf.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateKeysRequestBody - Go SDK

> UpdateKeysRequestBody type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

## Fields

| Field                | Type                                                                                                                                 | Required             | Description                                                                                                                                                            | Example              |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| `Disabled`           | `*bool`                                                                                                                              | :heavy\_minus\_sign: | Whether to disable the API key                                                                                                                                         | false                |
| `IncludeByokInLimit` | `*bool`                                                                                                                              | :heavy\_minus\_sign: | Whether to include BYOK usage in the limit                                                                                                                             | true                 |
| `Limit`              | optionalnullable.OptionalNullable\[`float64`]                                                                                        | :heavy\_minus\_sign: | New spending limit for the API key in USD                                                                                                                              | 75                   |
| `LimitReset`         | optionalnullable.OptionalNullable\[[operations.UpdateKeysLimitReset](/client-sdks/go/api-reference/operations/updatekeyslimitreset)] | :heavy\_minus\_sign: | 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`                                                                                                                            | :heavy\_minus\_sign: | New name for the API key                                                                                                                                               | Updated API Key Name |
