Delete vouchers
unifi_net_delete_vouchersDeletes all UniFi vouchers matching a required filter, returning a preview unless confirm=YES; use dry_run to preview deletion without sending changes.
Instructions
Deletes all vouchers matching filter (required by the API, sent as query parameter). body.filter is still accepted for compatibility.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unifi_net_delete_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Deprecated: { filter } is read from here when `filter` is not set | |
| filter | No | Voucher filter expression, sent as the `filter` query parameter | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. |