openwisp_delete_device_location
Delete a device's location assignment in OpenWISP by passing its device UUID or ID.
Instructions
[Category: Geo & Locations] Remove the location from a device. (HTTP DELETE /api/v1/controller/device/{id}/location/)
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_delete_device_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Device UUID or ID |