Create Local NAT Prefix (v2.0)
POST/sdwan/v2.0/api/natlocalprefixes
Create a new NAT local prefix.
Request
- application/json
Body
Details of the NAT Local prefix to be created
description
The description for the local NAT prefix. Max size = 256.
id string
The ID of the local NAT prefix.
name stringrequired
The name of the local NAT prefix. Max size = 128.
tags string[]
A information field that can be added to identify the local NAT 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 for the local NAT prefix. Max size = 256.
id string
The ID of the local NAT prefix.
name stringrequired
The name of the local NAT prefix. Max size = 128.
tags string[]
A information field that can be added to identify the local NAT 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": "INVALID_REQUEST_DUPLICATE_KEY"
},
{
"code": "NAT_PREFIX_INVALID_NAME"
},
{
"code": "NAT_PREFIX_NAME_REQUIRED"
},
{
"code": "NAT_PREFIX_INVALID_DESCRIPTION"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
}
]
}
}
Loading...