Browse the docs

DELETE /sensors/{id}

Deletes a sensor from iCloud; the phone stops watching for it.

Details #

404 when there is no such sensor.

curl -s -X DELETE -H "Authorization: Bearer $TOKEN" http://127.0.0.1:48080/sensors/ID

Parameters #

curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X DELETE http://localhost/sensors/{id}

Delete a sensor from iCloud. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.

See also #