Update Network Policy Global Prefix (v2.1)
PUT/v2.1/api/tenants/:tenant_id/networkpolicyglobalprefixes/:prefix_id
Update a network policy global prefix.
Request
Path Parameters
The tenant ID.
The network global prefix ID.
- application/json
Body
Details to update the Network policy Global prefix.
The description of the network policy global prefix. Max size = 256.
The ID of the network policy global prefix.
Lists the IPv4 addresses of the network policy global prefix.
Lists the IPv6 addresses of the network policy global prefix.
The name of the network policy global prefix.
A information field that can be added to identify the network policy global prefix. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The description of the network policy global prefix. Max size = 256.
The ID of the network policy global prefix.
Lists the IPv4 addresses of the network policy global prefix.
Lists the IPv6 addresses of the network policy global prefix.
The name of the network policy global prefix.
A information field that can be added to identify the network policy global prefix. Maximum 10 unique tags of length 1024 each are allowed.
{
"id": "string",
"ipv4_prefixes": [
"string"
],
"ipv6_prefixes": [
"string"
],
"name": "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": "NAME_REQD"
},
{
"code": "INVALID_PREFIX"
},
{
"code": "DESCRIPTION_EXCEEDS_LIMIT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_REQUEST_DUPLICATE_KEY"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "ENTERPRISE_PREFIX_INVALID_REQUEST"
}
]
}
}