Create WAN Network (v2.1)
POST/v2.1/api/tenants/:tenant_id/wannetworks
Create a new WAN network.
Request
Path Parameters
The ID of the tenant.
- application/json
Body
The description of the WAN network. Maz size = 256.
The ID of the WAN network.
The name of the WAN network. Max size = 128.
The provider AS numbers of the WAN network.
An information field that can be added to identify the WAN network. Maximum 10 unique tags of length 1024 each are allowed.
Possible values: [PUBLIC_WAN
, PRIVATE_WAN
]
The type of WAN network.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The description of the WAN network. Maz size = 256.
The ID of the WAN network.
The name of the WAN network. Max size = 128.
The provider AS numbers of the WAN network.
An information field that can be added to identify the WAN network. Maximum 10 unique tags of length 1024 each are allowed.
Possible values: [PUBLIC_WAN
, PRIVATE_WAN
]
The type of WAN network.
{
"id": "string",
"name": "string",
"provider_as_numbers": [
0
],
"tags": [
"string"
],
"type": "PUBLIC_WAN"
}
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_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_INPUT"
},
{
"code": "EXTRA_PROVIDER_ASNUM"
}
]
}
}