Use this endpoint to suspend the sensor.
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"}'
[
{
"error": null,
"data": {
"id": "6DE804CF68C9CF06",
"message": "Sensor Suspended Successfully"
}
}
]
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. |
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. |