Create Association between Site and Priority Local Prefix (v2.0)
POST/sdwan/v2.0/api/sites/:site_id/prioritypolicylocalprefixes
Create an association between the site and the priority local prefix.
Request
Path Parameters
site_id stringrequired
The ID of the site.
- application/json
Body
Details of the site Priority Policy local prefix to be associated
id string
The site priority prefix association ID.
ipv4_prefixes string[]
Lists the prefix of the IPv4 addresses.
prefix_id string
Lists the prefix ID of the IPv4 addresses.
tags string[]
A information field that can be added to identify the site priority prefix association. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
id string
The site priority prefix association ID.
ipv4_prefixes string[]
Lists the prefix of the IPv4 addresses.
prefix_id string
Lists the prefix ID of the IPv4 addresses.
tags string[]
A information field that can be added to identify the site priority prefix association. Maximum 10 unique tags of length 1024 each are allowed.
{
"id": "string",
"ipv4_prefixes": [
"string"
],
"prefix_id": "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": "SITE_NOT_FOUND"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "NETWRK_POLICY_PREFIX_INVALID"
},
{
"code": "LOCAL_PREFIX_NOT_FOUND"
}
]
}
}
Loading...