update_output_guardrail_workspace_exclusions
Update workspace exclusions for organization-wide output guardrails, excluding or restoring workspaces individually. Override existing states or merge to preserve unmentioned workspaces.
Instructions
Set workspace exclusions from organisation-wide output guardrails. Each entry excludes or restores one workspace; override_existing replaces prior states while the default merge behavior preserves unmentioned workspaces. Review the matching list tool first because enforcement changes immediately. Repeating the same states is safe. Requires an organisation service API key with organisation_exclusions.update scope. Enterprise-gated. Returns 403 on non-Enterprise Portkey plans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaces | Yes | Workspace exclusion states to apply | |
| organisation_id | Yes | Organisation ID whose workspace exclusions should be updated | |
| override_existing | No | Replace existing exclusion states instead of merging changes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |