NSX-T Data Center REST API

Associated URIs:

API Description API Path

List shares


GET /policy/api/v1/infra/shares
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares

Delete Share


Delete a Share.
DELETE /policy/api/v1/infra/shares/{share-id}
DELETE /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}

Get single instance of a share


GET /policy/api/v1/infra/shares/{share-id}
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}

Create or update a Share


If a Share with the given ID already exists, update the share entity.
PATCH /policy/api/v1/infra/shares/{share-id}
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}

Create or update a Share


If a Share with the given ID already exists, and the revision is 0, throw error
PUT /policy/api/v1/infra/shares/{share-id}
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}

Get Shared resource list for a given share


Get the list of shared resource in a given share.
GET /policy/api/v1/infra/shares/{share-id}/resources
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}/resources

Delete Shared Resource


Delete Shared Resource.
DELETE /policy/api/v1/infra/shares/{share-id}/resources/{shared-resource-id}
DELETE /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}/resources/{shared-resource-id}

Get Shared resource


Get the shared resource that represents shared objects.
GET /policy/api/v1/infra/shares/{share-id}/resources/{shared-resource-id}
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}/resources/{shared-resource-id}

Create or update Shared Resource


If Shared resource already exists, update the shared resource entity.
User Presence of the shared resource denotes sharing of the parent object.
PATCH /policy/api/v1/infra/shares/{share-id}/resources/{shared-resource-id}
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}/resources/{shared-resource-id}

Create or update Shared Resource


If Shared resource already exists, update the shared resource entity.
User Presence of the shared resource denotes sharing of the parent object.
PUT /policy/api/v1/infra/shares/{share-id}/resources/{shared-resource-id}
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}/resources/{shared-resource-id}

Get resources shared with a given project


Get the list of resource shared with a given project.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/shared-with-me

Get resources shared with a given vpc


Get the list of resource shared with a given vpc.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/shared-with-me

Get resources shared with a given org


Get the list of resource shared with a given org.
GET /policy/api/v1/orgs/{org-id}/shared-with-me