--- title: "Update sensor details" source_url: https://dev.digicert.com/certcentral-apis/discovery-api/sensor/update-sensor-details.html api_method: POST api_endpoint: "/apicontroller/v1/sensor/updateSensorDetails" api_url: "https://daas.digicert.com/apicontroller/v1/sensor/updateSensorDetails" --- **POST** `https://daas.digicert.com/apicontroller/v1/sensor/updateSensorDetails` Use this endpoint to update or modify the basic sensor settings. ## Example requests and responses ## cURL ```bash curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/sensor/updateSensorDetails' \ --header 'X-DC-DEVKEY: {{api_key}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "updatePreference": "0", "sensorName": "81MaySensor-test", "licenseKey": "984A6B3F786A3C14", "accountId": 5153184, "emailAddresses": "cc.admin@cert-testing.com", "divisionId": 677793 }' ``` ## 200 OK ```json { "error": null, "data": null } ``` ## Request parameters
| Name | Req/Opt. | Type | Description |
|---|---|---|---|
| updatePreference | required | string | Sensor upgrade preference.0 Automatic upgrade.1 Manual upgrade.Manually upgrade the sensor from the UI. |
| sensorName | required | string | Friendly name the administrator set for the sensor. |
| licenseKey | required | string | Sensor license key to create scan. |
| accountId | required | integer | Account ID. |
| emailAddresses | required | string | Email address for the contact associated with the sensor. |
| divisionId | required | integer | Division ID. |
| Name | Type | Description |
|---|---|---|
| error | object | Includes the error code, if any. |
| data | object | Object container for response, if any. |