Mettre à jour les détails du capteur


Use this endpoint to update or modify the basic sensor settings.

curl --location --request POST '' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "updatePreference": "0",
    "sensorName": "81MaySensor-test",
    "licenseKey": "984A6B3F786A3C14",
    "accountId": 5153184,
    "emailAddresses": "",
    "divisionId": 677793
200 OK
    "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.

Response parameters

Name Type Description
error object Includes the error code, if any.
data object Object container for response, if any.