NSX-T Data Center REST API
Add or Remove path based members from/to a Group
It will add or remove the specified members having path for a given expression of a group.This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.
Request:
Method:
POST
URI Path(s):
/policy/api/v1/infra/domains/{domain-id}/groups/{group-id}/path-expressions/{expression-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/domains/{domain-id}/groups/{group-id}/path-expressions/{expression-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/domains/{domain-id}/groups/{group-id}/path-expressions/{expression-id}
Request Headers:
n/a
Query Parameters:
GroupMemberActionParameters+
Request Body:
GroupMemberList+
Example Request:
{ "members": [ "/infra/domains/default/groups/GroupTag", "/infra/domains/default/groups/VMGroup" ] } { "members": [ "/infra/domains/default/groups/GroupTag", "/infra/domains/default/groups/VMGroup" ] }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a