openwisp_execute_device_command
Execute reboot or custom shell commands on OpenWISP-managed devices to remotely control network hardware through the REST API.
Instructions
[Category: Devices & Controller] Execute a command on a device, such as reboot or a custom shell command. (HTTP POST /api/v1/controller/device/{device_id}/command/)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Command type | |
| command | No | Custom command when type is custom | |
| device_id | Yes | Device UUID or ID |