Policy > Security > East West Security > Distributed Firewall > Communication Maps

Patch communication map (Deprecated)

Patch the communication map for a domain. If a communication map for the
given communication-map-id is not present, the object will get created and
if it is present it will be updated. This is a full replace
This API is deprecated. Please use the following API instead.
PATCH /infra/domains/domain-id/security-policies/security-policy-id
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/domains/<domain-id>/communication-maps/<communication-map-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
CommunicationMap+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/domains/vmc/communication-maps/application-section-1 { "description": "comm map patched", "display_name": "application-section-1", "category":"Application", "communication_entries": [ { "description": " comm entry", "display_name": "ce-1", "sequence_number": 1, "source_groups": [ "/infra/domains/vmc/groups/dbgroup" ], "destination_groups": [ "/infra/domains/vmc/groups/appgroup" ], "services": [ "/infra/services/HTTP", "/infra/services/CIM-HTTP" ], "action": "ALLOW" } ] }

Successful Response:

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

Required Permissions:

crud

Feature:

policy_dfw

Additional Errors: