deleteOslcResources
Removes one or more OSLC links from a Polarion Work Item by link ID, leaving the remote artifact untouched. Use dry_run to validate the request and preview the irreversible deletion before sending.
Instructions
Removes one or more OSLC links from a Work Item, identified in requestBody.data by their link IDs as returned by getOslcResources. Only the link is removed; the artifact in the remote OSLC tool is untouched. To add links use postOslcResources; for Polarion-internal links use deleteLinkedWorkItems. 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. | |
| projectId | Yes | The Polarion project ID (its URL segment, e.g. `myproject`), case-sensitive. Required to scope the request to one project. If the ID is unknown, ask the user; getProjects lists IDs only with global read access. | |
| workItemId | Yes | The Work Item's ID within its project (e.g. `WI-123`), not the combined `project/id` path used in some link payloads. | |
| requestBody | Yes | The Linked Oslc Item(s) body. |