Update sensor details

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

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

{
    "error": null,
    "data": null
}

Request parameters

NameReq/Opt.TypeDescription
updatePreferencerequiredstringSensor upgrade preference.
0 Automatic upgrade.
1 Manual upgrade.
Manually upgrade the sensor from the UI.
sensorNamerequiredstringFriendly name the administrator set for the sensor.
licenseKeyrequiredstringSensor license key to create scan.
accountIdrequiredintegerAccount ID.
emailAddressesrequiredstringEmail address for the contact associated with the sensor.
divisionIdrequiredintegerDivision ID.

Response parameters

NameTypeDescription
errorobjectIncludes the error code, if any.
dataobjectObject container for response, if any.