Delete API Collection
unfour.api.delete_collectionSoft-deletes an API collection and cascades soft-deletion to its folders and requests; dev/test requires confirmation_text, while production blocks 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collectionId": "<collectionId>"
},
"name": "unfour.api.delete_collection"
}
}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 | |||