unifi_delete_vouchers
Delete UniFi hotspot vouchers by IDs, exact name, or expired status, with all filters required to match. Requires confirm: true; otherwise previews the vouchers that would be removed.
Instructions
Delete every hotspot voucher a filter matches (official bulk DELETE): by ids, exact name and/or expired; several criteria must all match. Always needs confirm: true; without it the tool lists what would go.
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_delete_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Voucher ids | |
| name | No | Exact voucher name | |
| site | No | Site name, id or reference; optional while the console has a single site | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it | |
| expired | No | true: expired vouchers; false: unexpired ones |