Upgrade sensor

POST
https://daas.digicert.com/apicontroller/v1/sensor/upgradeSensor

Use this endpoint to upgrade the sensor when a new software update is available.

This success message will only display when the updatePreference is set to 1. See, Update sensor details.

cURL
curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/sensor/upgradeSensor' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"licenseKey":[{{license_key}}],"accountId":5153184,"divisionIds":[677793]}'
200 OK
[
    {
        "error": null,
        "data": {
            "id": "B94EDA7F773F19AD",
            "message": "Sensor upgrade Successful"
        }
    }
]

Request parameters

Name Req/Opt. Type Description
licenseKey required string License key of the sensor to upgrade.
accountId required string Account ID.
divisionIds required integer User's division IDs.

Response parameters

Name Type Description
error object Includes the error code, if any.
data object Object container for response.
.. id string License key of the updated sensor.
.. message string Message with additional information about the request.