delete_voucher
Permanently deletes a hotspot voucher by site and voucher ID, invalidating the code and disconnecting any guests currently using it.
Instructions
Delete a specific hotspot voucher.
This will invalidate the voucher code and disconnect any guests using it.
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": "delete_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | Site UUID | |
| voucher_id | Yes | Voucher UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |