Authorize Guest Access
unifi_authorize_guest_accessAuthorize a guest client for hotspot or captive-portal access, with optional time, data, or bandwidth limits to control usage.
Instructions
Authorize a client for guest network access (hotspot/captive-portal networks), optionally with time, data, or bandwidth limits. Only meaningful for clients on a guest network. NOTE: re-authorizing an already-authorized guest cancels the existing authorization, restarts the expiry clock, and resets traffic counters — do not retry this call casually.
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": {
"clientId": "<clientId>"
},
"name": "unifi_authorize_guest_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| clientId | Yes | Client ID (UUID from unifi_list_clients) | |
| rxRateLimitKbps | No | Download rate limit in Kbps (omit for unlimited) | |
| txRateLimitKbps | No | Upload rate limit in Kbps (omit for unlimited) | |
| timeLimitMinutes | No | Minutes until access expires (omit for no time limit) | |
| dataUsageLimitMBytes | No | Data cap in megabytes (omit for unlimited) |