patchGlobalEnumeration
Replaces all options of a global Polarion Enumeration, deleting any omitted from the request body. Read the current list first and set dry_run to preview irreversible changes.
Instructions
Replaces the entire option list of one global Enumeration: options missing from requestBody are deleted, not merged. Read the current list with getGlobalEnumeration first and send every option you want to keep. Scope: spans every project (no project filter). To act on a single project, use patchProjectEnumeration instead. Effect: irreversible — data removed or overwritten by this call cannot be recovered through the API. Tip: set dry_run: true first to validate the arguments and preview the exact request without sending it to Polarion. The executor returns this preview as normal text, and as structured content when the tool declares an output schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, validates the request and returns the exact request that would be sent to Polarion — with the Authorization header redacted and any binary payload summarized by byte length — without actually sending it. | |
| enumName | Yes | The Enumeration Name. | |
| targetType | Yes | The configured subtype for this enumeration or custom field (e.g. `requirement` for a Work Item type). Use `~` (without quotes) when the configuration applies to every subtype. | |
| enumContext | Yes | The Enumeration context. (Allowed values are '~', 'plans', 'testing' and 'documents'. Use '~' for Work Item or general enumerations.) | |
| requestBody | Yes | The Enumeration(s) body. |