Cancel
POST /proxy/network/api/s/default/cmd/devmgr with payload:
In the rapidly evolving world of network management, automation is no longer a luxury—it is a necessity. For administrators managing fleets of Ubiquiti devices (UniFi, EdgeMAX, and UFiber), the bridge between manual configuration and programmatic control is often an unsung hero: the ubios-udapi-server .
systemctl restart ubios-udapi-server Unlike Basic Auth, ubios-udapi-server uses stateless JWTs. You cannot simply curl an endpoint with a password; you must first request a token.
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "Bearer", "expires_in": 3600
WebSocket listener -> Detect new client -> Check OUI prefix -> Send PUT to update usergroup_id . Use Case 2: PoE Cycle Stuck Camera Scenario: A Protect camera is unresponsive; cycle its switch port power.
asyncio.run(listen()) Use Case 1: Auto-VLAN Assignment Scenario: When a MAC address belonging to an IoT device connects, move it to VLAN 30 (IoT).
| Feature | Cloud API | Local ubios-udapi-server | | :--- | :--- | :--- | | | High (150-300ms) | Very Low (<10ms) | | Internet Dependency | Required | Not required (works offline) | | Rate Limits | Strict (120 req/min) | Configurable / None (hardware limited) | | Data Granularity | Aggregated | Raw, per-packet telemetry | | Use Case | Remote monitoring | Real-time automation & local integration |
clients(first: 10, filter: is_wired: true) mac hostname uplink ap name
POST /proxy/network/api/s/default/cmd/devmgr with payload:
In the rapidly evolving world of network management, automation is no longer a luxury—it is a necessity. For administrators managing fleets of Ubiquiti devices (UniFi, EdgeMAX, and UFiber), the bridge between manual configuration and programmatic control is often an unsung hero: the ubios-udapi-server .
systemctl restart ubios-udapi-server Unlike Basic Auth, ubios-udapi-server uses stateless JWTs. You cannot simply curl an endpoint with a password; you must first request a token. ubios-udapi-server
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "Bearer", "expires_in": 3600
WebSocket listener -> Detect new client -> Check OUI prefix -> Send PUT to update usergroup_id . Use Case 2: PoE Cycle Stuck Camera Scenario: A Protect camera is unresponsive; cycle its switch port power. You cannot simply curl an endpoint with a
asyncio.run(listen()) Use Case 1: Auto-VLAN Assignment Scenario: When a MAC address belonging to an IoT device connects, move it to VLAN 30 (IoT).
| Feature | Cloud API | Local ubios-udapi-server | | :--- | :--- | :--- | | | High (150-300ms) | Very Low (<10ms) | | Internet Dependency | Required | Not required (works offline) | | Rate Limits | Strict (120 req/min) | Configurable / None (hardware limited) | | Data Granularity | Aggregated | Raw, per-packet telemetry | | Use Case | Remote monitoring | Real-time automation & local integration | asyncio
clients(first: 10, filter: is_wired: true) mac hostname uplink ap name