--- title: "Suspend sensor" source_url: https://dev.digicert.com/certcentral-apis/discovery-api/sensor/suspend-sensor.html api_method: POST api_endpoint: "/apicontroller/v1/sensor/suspend" api_url: "https://daas.digicert.com/apicontroller/v1/sensor/suspend" --- **POST** `https://daas.digicert.com/apicontroller/v1/sensor/suspend` Use this endpoint to suspend the sensor. ## Example requests and responses ## cURL ```bash 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 ```json [ { "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.