Update Cellular Module (v2.0)
PUT/sdwan/v2.0/api/elements/:element_id/cellular_modules/:cellular_module_id
Update a specific cellular module.
Request
Path Parameters
ID of the element.
ID of the cellular module.
- application/json
Body
The description of the cellular module. Max size = 256.
Indicates if the GPS is enabled for the cellular module.
The ID of the cellular module.
The name of the cellular module. Max size = 128.
The primary SIM attribute of the cellular module.
Indicates the radio on attribute.
An information field that can be added to identify the cellular module. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The description of the cellular module. Max size = 256.
Indicates if the GPS is enabled for the cellular module.
The ID of the cellular module.
The name of the cellular module. Max size = 128.
The primary SIM attribute of the cellular module.
Indicates the radio on attribute.
An information field that can be added to identify the cellular module. Maximum 10 unique tags of length 1024 each are allowed.
{
"gps_enable": true,
"id": "string",
"name": "string",
"primary_sim": 0,
"radio_on": true,
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
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": "CELLULAR_MODULE_CONFIG_RADIO_ON_REQD"
},
{
"code": "CELLULAR_MODULE_CONFIG_GPS_ENABLE_REQD"
},
{
"code": "CELLULAR_MODULE_CONFIG_PRIMARY_SIM_REQD"
},
{
"code": "CELLULAR_MODULE_CONFIG_INVALID_PRIMARY_SIM"
},
{
"code": "CELLULAR_MODULE_CONFIG_NAME_CHANGE_NOT_SUPPORTED"
},
{
"code": "CELLULAR_MODULE_CONFIG_UNSUPPORTED_DEVICESW"
}
]
}
}