NSX-T Data Center REST API

Get resources shared with a given org

Get the list of resource shared with a given org.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/orgs/<org-id>/shared-with-me
Request Headers:
n/a
Query Parameters:
SharedResourceListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/orgs/default/shared-with-me

Successful Response:

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

Example Response:

[{ "resourcePaths":[ { "resource_path": "/infra/domains/domain1/groups/group1", "include_children": false } ], "resource_type":"SharedResource", "id":"backup", "display_name":"backup", "path":"/infra/shares/default-org-share/resources/backup", "relative_path":"backup", "parent_path":"/infra/shares/default-org-share", "unique_id":null, "marked_for_delete":false, "overridden":false, "_create_user":"admin", "_system_owned":false, "_last_modified_user":"admin", "_create_time":1613559460360, "_last_modified_time":1613559460360, "_protection":"NOT_PROTECTED", "_revision":0 }]

Required Permissions:

read

Feature:

policy_share

Additional Errors: