Create Association between Site and NAT Prefix (v2.0)
POST/sdwan/v2.0/api/sites/:site_id/natlocalprefixes
Create an association between the site and the NAT prefix.
Request
Path Parameters
site_id stringrequired
ID of the site.
- application/json
Body
Details of the site NAT prefix to be created
id string
The ID of the NAT site prefix.
ipv4_prefixes string[]
List the ipv4 prefixes for the site.
prefix_id string
The ID of the prefix.
tags string[]
A information field that can be added to identify the NAT site prefix. 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 ID of the NAT site prefix.
ipv4_prefixes string[]
List the ipv4 prefixes for the site.
prefix_id string
The ID of the prefix.
tags string[]
A information field that can be added to identify the NAT site prefix. 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": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "SITE_NOT_FOUND"
},
{
"code": "NAT_LOCALPREFIX_NOT_FOUND"
},
{
"code": "NAT_PREFIX_INVALID"
},
{
"code": "LOCAL_PREFIX_NOT_FOUND"
}
]
}
}
Loading...