> ## 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.

# UpdateCapacityGuardrailPolicyRequest

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `APIKeyHashes` | \[]`string` | ➖ | Complete new list of assigned API keys. Send together with `member_ids`, or omit both to keep the stored assignments. | \[ "c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93" ] |
| `Config` | [components.GuardrailCapacityPolicyConfig](../../models/components/guardrailcapacitypolicyconfig.mdx) | ✔️ | N/A | \{ "bucket\_by": \[ "member", "model" ], "limits": \[ \{ "limit": 100000, "models": "all", "unit": "tokens" } ] } |
| `IsWorkspaceDefault` | `*bool` | ➖ | Omit to keep the stored default status; `false` unsets the policy as the workspace default. | |
| `MemberIds` | \[]`string` | ➖ | Complete new list of assigned members. Send together with `api_key_hashes`, or omit both to keep the stored assignments. | \[ "user\_2abcDEFghiJKLmnoPQRstu" ] |
| `Name` | `string` | ✔️ | Policy name | Engineering monthly budget |
| `OptedOutAPIKeyHashes` | \[]`string` | ➖ | API key hashes | \[ "c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93" ] |
| `OptedOutMemberIds` | \[]`string` | ➖ | Organization member user IDs | \[ "user\_2abcDEFghiJKLmnoPQRstu" ] |
| `WorkspaceID` | `string` | ✔️ | Workspace the capacity policy belongs to. Capacity policies require an organization-scoped management key. | 0df9e665-d932-5740-b2c7-b52af166bc11 |
