Get Prefix List for Element (v2.0)
GEThttps://api.sase.paloaltonetworks.com/sdwan/v2.0/api/sites/:site_id/elements/:element_id/routing_prefixlists
Get all the prefix lists for an element.
Request
Path Parameters
site_id stringrequired
The ID of the site.
element_id stringrequired
The ID of the element.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (auto)
Schema
countint32
The actual count.
idstring
The ID.
items RoutingPrefixList[]
{
"count": 0,
"id": "string",
"items": [
{
"auto_generated": true,
"id": "string",
"name": "string",
"prefix_filter_list": [
{
"ge": 0,
"ipv6_prefix": "string",
"le": 0,
"order": 0,
"permit": true,
"prefix": "string"
}
],
"tags": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ELEMENT_NOT_ASSIGNED_TO_SITE"
}
]
}
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://api.sase.paloaltonetworks.com/sdwan/v2.0/api/sites/:site_id/elements/:element_id/routing_prefixlists' \
-H 'Accept: application/json'
ResponseClear