Update Site Network Policy Local Prefix Association (v2.1)
PUT/v2.1/api/tenants/:tenant_id/sites/:site_id/networkpolicylocalprefixes/:prefix_id
Update a site network policy local prefix association.
Request
Path Parameters
The tenant ID.
The site ID.
ID of the network policy local prefix.
- application/json
Body
Details of the site Network policy local prefix to be updated
The ID of the site prefix.
The individual IPv4 prefixes address.
The individual IPv4 prefixes address.
The IP Prefix ID that associates with a site.
A information field that can be added to identify the site prefix. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The ID of the site prefix.
The individual IPv4 prefixes address.
The individual IPv4 prefixes address.
The IP Prefix ID that associates with a site.
A information field that can be added to identify the site prefix. Maximum 10 unique tags of length 1024 each are allowed.
{
"id": "string",
"ipv4_prefixes": [
"string"
],
"ipv6_prefixes": [
"string"
],
"prefix_id": "string",
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "SITE_NOT_FOUND"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "LOCAL_PREFIX_NOT_FOUND"
}
]
}
}