delete_hotspot_voucher
Remove an unwanted hotspot voucher from a UniFi site by specifying host, site, and voucher ID obtained from list_hotspot_vouchers. This revokes guest access for that voucher.
Instructions
Delete a single hotspot voucher.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID.
voucher_id: REQUIRED. Obtain it from list_hotspot_vouchers (its id field).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| voucher_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |