NSX-T Data Center REST API
Update Endpoint rule
Create a Endpoint rule with the endpoint-rule-id is not already present,otherwise update the Endpoint Rule.
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>/endpoint-policies/<endpoint-policy-id>/endpoint-rules/<endpoint-rule-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
EndpointRule+
Example Request:
PATCH https://<policy-mgr>/policy/api/v1/infra/domains/gi_domain/endpoint-policies/map1 /endpoint-rules/endpoint-rule-1 { "display_name": "endpoint-rule-1", "sequence_number": 10, "groups": [ "/infra/domains/gi_domain/groups/test_group" ], "services": [ "/infra/service-references/SR_1/service-profiles/SP_1" ] }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a