Use this endpoint to reinstate the sensor.
curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/sensor/reinstate' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"accountId":5153184,"divisionIds":[677793],"licenseKey":[{{license_key}}],"reason":null}'
[
{
"error": null,
"data": {
"id": "6DE804CF68C9CF06",
"message": "Sensor Reinstated Successfully"
}
}
]
Name | Req/Opt | Type | Description |
---|---|---|---|
accountId | required | string | Account ID. |
divisionIds | required | integer | Division ID. |
licenseKey | required | string | License key of the sensor to reinstate. |
reason | optional | string | Reason for reinstating 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 reinstated sensor. |
.. message | string | Message with additional information about the request. |