Create Network Policy local Prefix (v2.0)
POST/sdwan/v2.0/api/networkpolicylocalprefixes
Create a new network policy local prefix.
Request
- application/json
Body
Details of the Network Policy Local prefix to be created
description
The description of the network policy local prefix. Max size = 256.
id string
The ID of the network policy local prefix.
name stringrequired
The name of the network policy local prefix.
tags string[]
A information field that can be added to identify the network policy local prefix. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
description
The description of the network policy local prefix. Max size = 256.
id string
The ID of the network policy local prefix.
name stringrequired
The name of the network policy local prefix.
tags string[]
A information field that can be added to identify the network policy local prefix. Maximum 10 unique tags of length 1024 each are allowed.
{
"id": "string",
"name": "string",
"tags": [
"string"
]
}
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": "NAME_REQD"
},
{
"code": "DESCRIPTION_EXCEEDS_LIMIT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_REQUEST_DUPLICATE_KEY"
}
]
}
}
Loading...