Delete API Collection
unfour.api.delete_collectionSoft-delete an API collection with cascading removal of its folders and requests. Pass confirmation text in dev/test; production deletion is blocked by policy.
Instructions
Soft-deletes an API collection and cascades soft-deletion to its folders and requests through the command bus. Dev/test require a content-bound confirmation_text; prod blocks by policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| workspaceId | No | ||
| collectionId | Yes | ||
| confirmationText | No | ||
| confirmation_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||