Update advanced settings

POST https://daas.digicert.com/apicontroller/v1/sensor/updateAdvancedSettings
Use this endpoint to change advanced settings for a sensor after updates or modification.

Example requests and responses

cURL

curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/sensor/updateAdvancedSettings' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountId": 5153184,
    "divisionId": 677793,
    "sensorId": "2A3C8D6874EADB1B",
    "advancedSettings": {
        "heartbeatInterval": "60",
        "commPorts": {
            "hbPort": 8080,
            "dataCommPort": 8443
        },
        "portChangeInProgress": false,
        "programLogs": {
            "startNow": true,
            "startAt": null,
            "manually": true,
            "timezone": "5:30#chennai"
        }
    }
}'

200 OK

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

Request parameters

NameReq/Opt.TypeDescription
accountIdrequiredstringAccount ID.
divisionIdrequiredintegerDivision ID.
sensorIdrequiredstringSensor license key.
advancedSettingsrequiredobjectObject with key/value pairs for each setting to update.
.. heartbeatIntervalrequiredintegerSensor heartbeat interval (in seconds).
.. commPortsoptionalobjectObject with key/value pairs for the port communication settings.
.. .. hbPortrequiredintegerAt this port, sensor will start the proxy server for agents.
.. .. dataCommPortrequiredintegerSSL port for data communication between the agent and the sensor.
.. portChangeInProgressrequiredbooleanIf true, hbPort and dataCommPort changes are in progress.
.. programLogsoptionalarrayChanges the log level of sensor.
.. .. startNowoptionalbooleanIf true, then log level change will be initiated instantly.
.. .. startAtoptionalintegerThe time at which the log level change will be initiated
.. .. timezoneoptionalstringTime zone for the sensor to start the debug log.
Format: GMT + your timezone offset.
Example: -8#pacifictime

Response parameters

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