VMware Cloud Community
derevan007
Contributor
Contributor
Jump to solution

Getting and Setting Catalog Access using REST API

I have a catalog that I can view through the vCD UI that allows members  to be added on the Sharing tab with Read Only, Read/Write or Full Control. These do not appear anywhere I can find  when getting the catalog through the REST API.

The vCloud Director 1.5 REST API documentation indicates that it supports getting/setting user access to catalogs using the "conrolAccess" link. This link does not appear in the response from a GET of the Catalog HREF (admin or alternate). Attempting to append "/controlAccess" to the catalog HREF results in RESOURCE_NOT_FOUND.

Reply
0 Kudos
1 Solution

Accepted Solutions
rkamal
VMware Employee
VMware Employee
Jump to solution

Reply
0 Kudos
2 Replies
rkamal
VMware Employee
VMware Employee
Jump to solution

Hi,

Could be a documentation bug, try like this

https://cloud/api/org/org-uuid/catalog/catalog-uuid/controlAccess - Fetch (GET)

https://cloud/api/org/org-uuid/catalog/catalog-uuid/action/controlAccess - Update (POST)

Regards,
Rajesh Kamal.

Reply
0 Kudos
derekevn
Contributor
Contributor
Jump to solution

Works beautifully! Thank you for pointing me in the right direction.

Reply
0 Kudos