Policy > Networking > Connectivity > Tier-0 Gateways > Routing > Prefix List

Create or update a prefix list

If prefix list for prefix-list-id is not already present, create
a prefix list. If it already exists, update prefix list for prefix-list-id.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/prefix-lists/<prefix-list-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PrefixList+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc/prefix-lists/to-onprem { "prefixes": [ { "network":"30.1.1.0/24", "action":"PERMIT" }, { "network":"10.1.1.0/24", "action":"DENY" } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: