network_delete_voucher
Delete a hotspot voucher from a local UniFi site by specifying the site ID and voucher ID.
Instructions
Delete a hotspot voucher from a local UniFi site.
Args: site_id: The site ID. voucher_id: The voucher ID to 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": {
"site_id": "<site_id>",
"voucher_id": "<voucher_id>"
},
"name": "network_delete_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| voucher_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |