Update NAT Local Prefix (v2.0)
PUT/sdwan/v2.0/api/natlocalprefixes/:prefix_id
Update a specific NAT local prefix.
Request
Path Parameters
prefix_id stringrequired
ID of the local NAT prefix.
- application/json
Body
Details to update the NAT local prefix.
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"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
}
]
}
}
Loading...