NSX-T Data Center REST API

Create or update a Share

If a Share with the given ID already exists, update the share entity.
This API is only available when using VMware NSX.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/shares/{share-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/shares/{share-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Share+

Example Request:

{ "resource_type":"Share", "display_name":"My Share", "sharedWith":[ "/orgs/default/projects/project1" ], "_revision":0 }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_share

Additional Errors: