devops_work_item_delete
Delete a work item by ID, moving it to the Recycle Bin unless the destroy flag is set for permanent, irreversible removal.
Instructions
Delete a work item by ID. By default the item is sent to the Recycle Bin and can be restored. Set destroy=True to permanently destroy the item — WARNING: this is irreversible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_item_id | Yes | The numeric ID of the work item to delete. | |
| destroy | No | If True, permanently destroys the work item (requires 'Permanently delete work items' permission in Project Settings → Security; if not enabled, the server returns 404). WARNING: permanent destruction cannot be undone. Defaults to False (moves to Recycle Bin). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |