Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Assigned | bool | ✔️ | true assigns the policy to the subject, false removes it | true |
ExpectedAssignment | components.GuardrailPolicyAssignmentState | ✔️ | N/A | |
PolicyID | string | ✔️ | Policy ID | 550e8400-e29b-41d4-a716-446655440000 |
PolicyType | components.ChangeGuardrailPolicyAssignmentRequestPolicyType | ✔️ | 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 |