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

# ChangeGuardrailPolicyAssignmentRequest

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `Assigned` | `bool` | ✔️ | `true` assigns the policy to the subject, `false` removes it | true |
| `ExpectedAssignment` | [components.GuardrailPolicyAssignmentState](../../models/components/guardrailpolicyassignmentstate.mdx) | ✔️ | N/A | |
| `PolicyID` | `string` | ✔️ | Policy ID | 550e8400-e29b-41d4-a716-446655440000 |
| `PolicyType` | [components.ChangeGuardrailPolicyAssignmentRequestPolicyType](../../models/components/changeguardrailpolicyassignmentrequestpolicytype.mdx) | ✔️ | Policy type the assignment is read or changed for | budget |
| `WorkspaceID` | `*string` | ➖ | Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other. | 0df9e665-d932-5740-b2c7-b52af166bc11 |
