Delete Variables
variable_deleteDelete specific variables or an entire collection after verifying they are unused in the document. Rejects deletion if any target is still in use.
Instructions
Delete specific variables or an entire collection. Runs a full-document consumer check first and rejects the whole operation if any target is still in use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variableIds | No | Array of variable IDs to delete. Mutually exclusive with collectionId. | |
| collectionId | No | ID of a variable collection to delete. Mutually exclusive with variableIds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether variables were deleted successfully | |
| message | No | Status message |