> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # UpdateBYOKKeyRequestDeclaredRegion Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, Azure accepts `europe` or `us` and Anthropic accepts `us` only. Omit to leave the stored value unchanged (rotating an OpenAI or Fireworks `key` re-derives it from the new key); `null` clears the declaration. ## Example Usage ```go theme={null} import ( "github.com/OpenRouterTeam/go-sdk/models/components" ) value := components.UpdateBYOKKeyRequestDeclaredRegionGlobal // Open enum: custom values can be created with a direct type cast custom := components.UpdateBYOKKeyRequestDeclaredRegion("custom_value") ``` ## Values | Name | Value | | - | - | | `UpdateBYOKKeyRequestDeclaredRegionGlobal` | global | | `UpdateBYOKKeyRequestDeclaredRegionEurope` | europe | | `UpdateBYOKKeyRequestDeclaredRegionUs` | us |