openwisp_deactivate_device
Deactivate an OpenWISP device by ID before deletion or maintenance, removing it from active service in the controller.
Instructions
[Category: Devices & Controller] Deactivate a device before deletion or maintenance. (HTTP POST /api/v1/controller/device/{id}/deactivate/)
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": {
"id": "<id>"
},
"name": "openwisp_deactivate_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Device UUID or ID to deactivate |