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.
Note
This success message will only display when the updatePreference is set to 1. See, Update sensor details.
Example requests and responses
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.  |