Delete a rule
Dashboard-only
DeviceGrant), and use the Device Control endpoints.Authorization
sessionAuth A session token for an existing account, obtained from POST /auth/login (see the Authentication endpoints) - not an API key. Endpoints marked with this scheme reject API key callers outright, regardless of what that key is granted. Outside the Authentication endpoints themselves, everything requiring this scheme manages dashboard resources (schedules, rules, grants, keys, device configuration) and mirrors what a human does in the Nexalware web app - it is not meant to be automated by a third-party integration the way the Device Control endpoints are.
In: header
Path Parameters
Response Body
application/json
application/json
curl -X DELETE "https://example.com/api/v1/devices/dev_a1b2c3/rules/rul_x1y2z3"{ "ok": true}Create a rule POST
A rule condition can only reference a telemetry metric this device has already reported at least once. The action command is checked the same way an unattended schedule action is - commands marked `requiresApproval` cannot be used here.
Get the metrics and commands available for building a rule GET
Next Page