Create Priority Global Prefix (v2.0)
POST/v2.0/api/tenants/:tenant_id/prioritypolicyglobalprefixes
Create a new priority global prefix.
Request
Path Parameters
The tenant ID.
- application/json
Body
Details of the Priority Global prefix to be created
The description of the priority policy global prefix.
The ID of the priority policy global prefix.
Lists the IPv4 addresses of the priority policy global prefix.
The name of the priority policy global prefix.
A information field that can be added to identify the priority 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 priority policy global prefix.
The ID of the priority policy global prefix.
Lists the IPv4 addresses of the priority policy global prefix.
The name of the priority policy global prefix.
A information field that can be added to identify the priority policy global prefix. Maximum 10 unique tags of length 1024 each are allowed.
{
"id": "string",
"ipv4_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"
}
]
}
}