update_input_guardrail_workspace_exclusions
Set workspace exclusions for organisation-wide input guardrails, specifying workspaces to exclude or restore, with merge or override options.
Instructions
Set workspace exclusions from organisation-wide input 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 |