Create Path Group for Tenant (v2.1)
POST/sdwan/v2.1/api/pathgroups
Create a path group for a tenant.
Request
- application/json
Body
Details of the path group to be created
- Array [
- ]
description
The description of the path group. Max length 256.
id string
The ID of the path group.
name string
The name of the path group. Max length 128.
paths WANPath[]required
List of paths in the group.
label string
The label to identify the path.
path_type stringrequired
Possible values: [vpn
, direct
, servicelink
]
The path type.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
description
The description of the path group. Max length 256.
id string
The ID of the path group.
name string
The name of the path group. Max length 128.
paths WANPath[]
List of paths in the group.
label string
The label to identify the path.
path_type stringrequired
Possible values: [vpn
, direct
, servicelink
]
The path type.
{
"id": "string",
"name": "string",
"paths": [
{
"label": "string",
"path_type": "vpn"
}
]
}
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": "PATHGROUP_INVALID_DESCRIPTION"
},
{
"code": "PATHGROUP_INVALID_NAME"
},
{
"code": "PATHGROUP_INVALID_PATHS"
}
]
}
}
Loading...