Update Cellular Module Firmware Configuration (v2.0)
PUT/v2.0/api/tenants/:tenant_id/machines/:machine_id/cellular_modules/:cellular_module_id/firmware
Update the cellular module firmware configuration.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
machine_id stringrequired
The ID of the device.
cellular_module_id stringrequired
ID of the cellular module.
- application/json
Body
cellular_module_image_ids string[]
The cellular module image ID.
id string
The ID of the cellular module firmware.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
cellular_module_image_ids string[]
The cellular module image ID.
id string
The ID of the cellular module firmware.
{
"cellular_module_image_ids": [
"string"
],
"id": "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": "INVALID_JSON_INPUT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "MACHINE_NOT_FOUND"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_NOTFOUND"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_UNSUPPORTED_DEVICE"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_MISSING_IMAGE_IDS"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_IMAGE_IDS_COUNT"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_NO_IMAGE_PRESENT"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_IMAGE_NOT_SUPPORTED"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_UNSUPPORTED_MIN_ELEMENT_VERSION"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_UNSUPPORTED_MAX_ELEMENT_VERSION"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_UNSUPPORTED_ELEMENT_VERSION"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_IMAGE_UNSUPPORTED_MODEMMODEL"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_INVALID_IMAGE_UPGRADE_INPROGESS"
},
{
"code": "CELLULAR_MODULE_FW_CONFIG_TENANT_NOTALLOCATED_FOR_IMAGE"
}
]
}
}
Loading...