unifi_gen_deletevoucher
unifi_gen_deletevoucherDelete a UniFi voucher by voucher ID, preview the action with dry-run, and confirm with YES to apply the deletion.
Instructions
Delete Voucher - generated from developer.ui.com/network/v11.0.97/deletevoucher
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": {
"voucherId": "<voucherId>"
},
"name": "unifi_gen_deletevoucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. | |
| voucherId | Yes |