<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Shukran Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>Shukran Tracker</description>
    <pubDate>Fri, 17 Nov 2023 19:56:35 GMT</pubDate>
    <dc:date>2023-11-17T19:56:35Z</dc:date>
    <item>
      <title>vCD API Documentation with JSON examples?</title>
      <link>https://communities.vmware.com/t5/VMware-vCloud-API-Documents/vCD-API-Documentation-with-JSON-examples/ta-p/2961117</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do we have a API documentation/link for the vCloud Director where JSON examples are listed instead of the XML ones?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shukran&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 11:32:35 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCloud-API-Documents/vCD-API-Documentation-with-JSON-examples/ta-p/2961117</guid>
      <dc:creator>Shukran</dc:creator>
      <dc:date>2023-03-27T11:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unshare vApp with other users using REST API</title>
      <link>https://communities.vmware.com/t5/VMware-vCloud-Director/Unshare-vApp-with-other-users-using-REST-API/m-p/2956879#M13462</link>
      <description>&lt;P&gt;I am just looking to remove access for one user from the access setting xml list.&lt;/P&gt;&lt;P&gt;I can traverse the list and remove that one object by matching the href that i am looking for.&lt;/P&gt;&lt;P&gt;I was wondering if there is an easier way that i can use.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 18:07:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCloud-Director/Unshare-vApp-with-other-users-using-REST-API/m-p/2956879#M13462</guid>
      <dc:creator>Shukran</dc:creator>
      <dc:date>2023-02-27T18:07:47Z</dc:date>
    </item>
    <item>
      <title>Unshare vApp with other users using REST API</title>
      <link>https://communities.vmware.com/t5/VMware-vCloud-Director/Unshare-vApp-with-other-users-using-REST-API/m-p/2956844#M13459</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way we can unshare the vApp using API's. Delete verb doesn't work with /vApp/{id}/action/controlAccess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-shukran-&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 14:41:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCloud-Director/Unshare-vApp-with-other-users-using-REST-API/m-p/2956844#M13459</guid>
      <dc:creator>Shukran</dc:creator>
      <dc:date>2023-02-27T14:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Share vApp with other users using REST API</title>
      <link>https://communities.vmware.com/t5/VMware-vCloud-Director/Share-vApp-with-other-users-using-REST-API/m-p/2955752#M13451</link>
      <description>&lt;P&gt;Thanks it works now&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 10:56:52 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCloud-Director/Share-vApp-with-other-users-using-REST-API/m-p/2955752#M13451</guid>
      <dc:creator>Shukran</dc:creator>
      <dc:date>2023-02-21T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Share vApp with other users using REST API</title>
      <link>https://communities.vmware.com/t5/VMware-vCloud-Director/Share-vApp-with-other-users-using-REST-API/m-p/2955746#M13449</link>
      <description>&lt;P&gt;Hi Macleud,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help but when I run it I am getting 415 'Unsupported Media Type' error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is the query i have used&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -L -X POST 'https://&amp;lt;cloud-url&amp;gt;/api/vApp/vapp-01417e65-28bc-4eb4-97fa-f4da9a0158f4/action/controlAccess' -H 'accept: application/*;version=33.0' -H 'Content-Type: application/xml' --data-raw '&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;ControlAccessParams
    xmlns="http://www.vmware.com/vcloud/v1.5"&amp;gt;
    &amp;lt;IsSharedToEveryone&amp;gt;true&amp;lt;/IsSharedToEveryone&amp;gt;
    &amp;lt;EveryoneAccessLevel&amp;gt;ReadOnly&amp;lt;/EveryoneAccessLevel&amp;gt;
&amp;lt;/ControlAccessParams&amp;gt;'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the response&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;Error xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:common="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:ovfenv="http://schemas.dmtf.org/ovf/environment/1" xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" xmlns:ns9="http://www.vmware.com/vcloud/versions" majorErrorCode="415" message="Unsupported Media Type" minorErrorCode="UNSUPPORTED_MEDIA_TYPE"/&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if I am doing something wrong. If you have a curl that i could use that would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shukran&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 10:29:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCloud-Director/Share-vApp-with-other-users-using-REST-API/m-p/2955746#M13449</guid>
      <dc:creator>Shukran</dc:creator>
      <dc:date>2023-02-21T10:29:51Z</dc:date>
    </item>
    <item>
      <title>Share vApp with other users using REST API</title>
      <link>https://communities.vmware.com/t5/VMware-vCloud-Director/Share-vApp-with-other-users-using-REST-API/m-p/2955149#M13440</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to utilize REST APIs to share vApp with other users in the org. I wanted to know can we update controlAccess for the vApp if we have other user's email or username?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am trying to use the below endpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;https://&amp;lt;cloud-url&amp;gt;/api/vApp/&amp;lt;vapp-id&amp;gt;/action/controlAccess&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I got this payload example from schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "vCloudExtension": [
    {
      "required": true
    }
  ],
  "isSharedToEveryone": true,
  "everyoneAccessLevel": "string",
  "accessSettings": {
    "vCloudExtension": [
      {
        "required": true
      }
    ],
    "accessSetting": [
      {
        "vCloudExtension": [
          {
            "required": true
          }
        ],
        "accessLevel": "string"
      }
    ]
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They payload doesn't specify how we can pass the user detail. I am not sure if this is the correct endpoint or do we have another endpoint?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Shukran&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 11:15:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCloud-Director/Share-vApp-with-other-users-using-REST-API/m-p/2955149#M13440</guid>
      <dc:creator>Shukran</dc:creator>
      <dc:date>2023-02-17T11:15:02Z</dc:date>
    </item>
  </channel>
</rss>

