Upgrade sensor
less than a minute
POST
Use this endpoint to upgrade the sensor when a new software update is available.https://daas.digicert.com/apicontroller/v1/sensor/upgradeSensor
Note
This success message will only display when the updatePreference is set to1. See, Update sensor details.Example requests and responses
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. |
Was this page helpful?
Provide feedback