Use this endpoint to update or modify the basic sensor settings.
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
}'
{
"error": null,
"data": null
}
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. |