5.5

Table Of Contents
<Link
rel="controlAccess"
type="application/vnd.vmware.vcloud.controlAccess+xml"
href="https://vcloud.example.com/api/org/id/catalog/id/action/controlAccess/"/>
NOTE The controlAccess links for catalogs are not returned in the AdminOrg response when you
retrieve the organization in the admin view.
3 Create a ControlAccessParams element that contains an AccessSettings element that specifies the
organizations with which to share the catalog.
4 POST the ControlAccessParams element to the action/controlAccess link for the catalog.
The catalog is shared with administrators of the specified organizations.
Example: Share a Catalog With Specific Organizations in a Cloud
This request updates the access controls of a catalog to share it to a single organization, giving read-only
access to all users in that organization.
Request:
POST https://vcloud.example.com/api/org/9/catalog/32/action/controlAccess/"/>
Content-Type: application/vnd.vmware.vcloud.controlAccess+xml
...
<?xml version="1.0" encoding="UTF-8"?>
<ControlAccessParams
xmlns="http://www.vmware.com/vcloud/v1.5">
<IsSharedToEveryone>false</IsSharedToEveryone>
<AccessSettings>
<AccessSetting>
<Subject
type="application/vnd.vmware.admin.org+xml"
href="https://vcloud.example.com/api/admin/org/355"/>
<AccessLevel>ReadOnly</AccessLevel>
</AccessSetting>
</AccessSettings>
</ControlAccessParams>
Response:
200 OK
Content-Type: application/vnd.vmware.vcloud.controlAccess+xml
...
<ControlAccessParams
xmlns="http://www.vmware.com/vcloud/v1.5">
<IsSharedToEveryone>false</IsSharedToEveryone>
<AccessSettings>
<AccessSetting>
<Subject
type="application/vnd.vmware.admin.org+xml"
href="https://vcloud.example.com/api/admin/org/355"/>
<AccessLevel>ReadOnly</AccessLevel>
</AccessSetting>
</AccessSettings>
</ControlAccessParams>
vCloud API Programming Guide
210 VMware, Inc.