Update App/WAN Context (v2.0)
PUT/sdwan/v2.0/api/wanoverlays/:wan_overlay_id
Update a new app/wan context.
Request
Path Parameters
wan_overlay_id stringrequired
The ID of the WAN overlay.
- application/json
Body
Details of the appwan context to be updated
description
The WAN overlay config description. Max size = 256.
id string
The ID of the WAN overlay.
name stringrequired
The WAN overlay config name. Max size = 128.
vni int32required
The VNI value.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
description
The WAN overlay config description. Max size = 256.
id string
The ID of the WAN overlay.
name stringrequired
The WAN overlay config name. Max size = 128.
vni int32required
The VNI value.
{
"id": "string",
"name": "string",
"vni": 0
}
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": "APPWAN_CONTEXT_DOES_NOT_EXIST"
},
{
"code": "WANOVERLAY_CONFIG_NAME_REQD"
},
{
"code": "NAME_EXCEEDS_LIMIT"
},
{
"code": "VNI_REQD"
},
{
"code": "INVALID_VNI_VALUE"
},
{
"code": "WANOVERLAY_CONFIG_DESCRIPTION_INVALID"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
}
]
}
}
Loading...