Upgrade Machine Software (v2.0)
PUT/sdwan/v2.0/api/machines/:machine_id/software/:software_id
Upgrade the machine software.
Request
Path Parameters
machine_id stringrequired
The ID of the device.
software_id stringrequired
The ID of the device software.
- application/json
Body
id string
The device software ID.
scheduled_upgrade string
The devices for which software upgrades have been scheduled. The list will display a temporary download completed state and then the scheduled upgrade.
upgrade_interval integer
The upgrade interval time limit until an upgrade attempt is performed.
upgrade_version stringrequired
The software version for the upgrade.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
id string
The device software ID.
scheduled_upgrade string
The devices for which software upgrades have been scheduled. The list will display a temporary download completed state and then the scheduled upgrade.
upgrade_interval integer
The upgrade interval time limit until an upgrade attempt is performed.
upgrade_version stringrequired
The software version for the upgrade.
{
"id": "string",
"scheduled_upgrade": "string",
"upgrade_interval": 0,
"upgrade_version": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "MACHINE_UNKNOWN"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "MACHINE_SOFTWARE_CONFIG_VERSION_NOT_FOUND"
},
{
"code": "MACHINE_SOFTWARE_CONFIG_ELEMENT_CLAIMED"
},
{
"code": "MACHINE_SOFTWARE_CONFIG_VERSION_NOT_ALLOCATED"
},
{
"code": "MACHINE_SOFTWARE_CONFIG_VERSION_ALREADY_PRESENT"
}
]
}
}
Loading...