Hi,
Is there a way we can unshare the vApp using API's. Delete verb doesn't work with /vApp/{id}/action/controlAccess.
-shukran-
Hi.
You need to make almost the same post request as enabling share.
<ControlAccessParams
xmlns="http://www.vmware.com/vcloud/v1.5">
<IsSharedToEveryone>false</IsSharedToEveryone>
</ControlAccessParams>
I am just looking to remove access for one user from the access setting xml list.
I can traverse the list and remove that one object by matching the href that i am looking for.
I was wondering if there is an easier way that i can use.
I don't think there is an easier way.
Mapping by Href and deleting a block from xml.
Perhaps there is something more convenient in SDK (terraform, pyvcloud and others).