create_hotspot_vouchers
Create Wi-Fi hotspot vouchers for a UniFi site. Specify voucher name, validity time, and optional quotas or bandwidth limits to control guest access.
Instructions
Generate hotspot vouchers for a site.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID.
voucher_config: required fields (validated locally — a missing field raises ValueError
naming it — and verified against the live controller): name and
timeLimitMinutes (voucher validity window, minutes). Optional: count, quota,
bandwidth limits, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| voucher_config | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||