Get Site Network Policy Prefix Associations (v2.0)
GEThttps://api.sase.paloaltonetworks.com/sdwan/v2.0/api/sites/:site_id/networkpolicylocalprefixes
List all the site network policy prefix associations.
Request
Path Parameters
site_id stringrequired
The site ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (auto)
Schema
countint32
The actual count.
idstring
The ID.
items SiteNetworkPrefixAssociation[]
{
"count": 0,
"id": "string",
"items": [
{
"id": "string",
"ipv4_prefixes": [
"string"
],
"prefix_id": "string",
"tags": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "SITE_NOT_FOUND"
}
]
}
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://api.sase.paloaltonetworks.com/sdwan/v2.0/api/sites/:site_id/networkpolicylocalprefixes' \
-H 'Accept: application/json'
ResponseClear