Suspend sensor

POST https://daas.digicert.com/apicontroller/v1/sensor/suspend
Use this endpoint to suspend the sensor.

Example requests and responses

cURL

curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/sensor/suspend' \
--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

NameReq/Opt.TypeDescription
accountIdrequiredstringAccount ID.
divisionIdsrequiredarrayUser’s division IDs.
licenseKeyrequiredstringLicense key of the sensor to suspend.
reasonoptionalstringReason for suspending the sensor.

Response parameters

NameTypeDescription
errorobjectIncludes the error code, if any.
dataobjectObject container for response.
.. idstringLicense key of the suspended sensor.
.. messagestringMessage with additional information about the request.