delete_work_package
Permanently deletes a work package and related time/cost entries, relations, attachments, and history; previews first and requires explicit confirmation because it cannot be undone.
Instructions
Delete a work package with its time and cost entries, relations, attachments and history.
This cannot be undone. Up to 17.6 all its descendants are deleted too; 17.7+ only those you may delete, the others lose their parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| work_package_id | Yes | Work package id (e.g. 952) or display id (e.g. "PROJ-51"), not the bare number 51. |