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.
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. |