Suspend sensor


Use this endpoint to suspend the sensor.

curl --location --request POST '' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"accountId":5153184,"divisionIds":[677793],"licenseKey":[{{license_key}}],"reason":"Duplicate sensor"}'
200 OK
        "error": null,
        "data": {
            "id": "6DE804CF68C9CF06",
            "message": "Sensor Suspended Successfully"

Request parameters

Name Req/Opt. Type Description
accountId required string Account ID.
divisionIds required array User's division IDs.
licenseKey required string License key of the sensor to suspend.
reason optional string Reason for suspending the sensor.

Response parameters

Name Type Description
error object Includes the error code, if any.
data object Object container for response.
.. id string License key of the suspended sensor.
.. message string Message with additional information about the request.