Suspend sensor
less than a minute
POST
Use this endpoint to suspend the sensor.https://daas.digicert.com/apicontroller/v1/sensor/suspend
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
| 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. |
Was this page helpful?
Provide feedback