Update WAN Network (v2.0)
PUT/sdwan/v2.0/api/wannetworks/:wan_network_id
Update an existing WAN network.
Request
Path Parameters
wan_network_id stringrequired
The ID of the WAN network.
- application/json
Body
id string
The ID of the WAN network.
name stringrequired
The name of the WAN network. Max size = 128.
provider_as_numbers integer[]
The provider AS numbers of the WAN network.
type stringrequired
Possible values: [PUBLIC_WAN
, PRIVATE_WAN
]
The type of WAN network.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID of the WAN network.
name stringrequired
The name of the WAN network. Max size = 128.
provider_as_numbers integer[]
The provider AS numbers of the WAN network.
type stringrequired
Possible values: [PUBLIC_WAN
, PRIVATE_WAN
]
The type of WAN network.
{
"id": "string",
"name": "string",
"provider_as_numbers": [
0
],
"type": "PUBLIC_WAN"
}
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_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_INPUT"
},
{
"code": "EXTRA_PROVIDER_ASNUM"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
}
]
}
}
Loading...