Policy > Inventory > Groups > Group Members

Get segments that belong to this Group

Get segments that belong to this Group
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/domains/<domain-id>/groups/<group-id>/members/segments
/policy/api/v1/global-infra/domains/<domain-id>/groups/<group-id>/members/segments
Request Headers:
n/a
Query Parameters:
RealizationListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/domains/d1/groups/g1/members/segments?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyGroupMembersListResult+

Example Response:

{ "results": [ { "id": "segment-1", "display_name": "segment-1", "path": "/infra/segments/segment-1" } ], "result_count": 1, "sort_by": "target_display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_grouping

Additional Errors: