Policy > Networking > Connectivity > Tier-0 Gateways > Routing > Community Lists

Create or update a BGP community list

If a community list with the community-list-id is not already present,
create a new community list. If it already exists, update the community
list for specified attributes.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

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

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/community-lists/cl1 { "communities": [ "NO_EXPORT", "2345:2018" ], }

Successful Response:

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

Example Response:

200 OK

Required Permissions:

execute

Feature:

policy_t0

Additional Errors: