openwisp_create_device
Register a new network device in OpenWISP Controller with name, MAC address, and organization via the REST API.
Instructions
[Category: Devices & Controller] Register a new network device in OpenWISP Controller. (HTTP POST /api/v1/controller/device/)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | Hardware MAC Address (e.g. 00:11:22:33:44:55) | |
| name | Yes | Friendly device name (e.g. Gateway-Berlin-01) | |
| model | No | Hardware model (e.g. GL.iNet GL-AR750S or TP-Link Archer C7) | |
| system | No | Operating system backend (e.g. OpenWrt) | OpenWrt |
| organization | Yes | Organization ID or slug |