unifi_delete_voucher
Deletes a hotspot voucher by its UUID to revoke access and remove it from a UniFi site, with optional site targeting for multi-site consoles.
Instructions
Delete one hotspot voucher by its id (official DELETE).
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_delete_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, id or reference; optional while the console has a single site | |
| voucherId | Yes | Voucher id |