Get Site Network Policy Prefix Associations (v2.0)
GET/v2.0/api/tenants/:tenant_id/sites/:site_id/networkpolicylocalprefixes
List all the site network policy prefix associations.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
site_id stringrequired
The site ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
count int32
The actual count.
id string
The ID.
tenant_id string
The tenant ID.
items SiteNetworkPrefixAssociation[]
id string
The ID of the site prefix.
ipv4_prefixes string[]
The individual IP address.
prefix_id string
The IP Prefix ID that associates with a site.
tags string[]
A information field that can be added to identify the site prefix. Maximum 10 unique tags of length 1024 each are allowed.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"id": "string",
"ipv4_prefixes": [
"string"
],
"prefix_id": "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": "SITE_NOT_FOUND"
}
]
}
}
Loading...