1.5

Table Of Contents
2 Modify the Owner element to specify a different User.
The user must be a member of the organization that contains the object.
NOTE You cannot modify the Owner of a Media or VAppTemplate object.
3 To change the owner of a vApp, make a PUT request to the Owner element's rel="edit" URL and supply
an Owner element in the request body.
The User element in the Owner element references the new owner. See “Example: Change the Owner of a
vApp,” on page 74.
Example: Change the Owner of a vApp
Request:
PUT https://vcloud.example.com/api/vApp/vapp-7/owner
Content-type: application/vnd.vmware.vcloud.owner+xml
...
<?xml version="1.0" encoding="UTF-8"?>
<Owner
xmlns="http://www.vmware.com/vcloud/v1.5">
<User
type="application/vnd.vmware.admin.user+xml"
href="https://vcloud.example.com/api/admin/user/120" />
</Owner>
Response:
204 No Content
vCloud API Programming Guide
74 VMware, Inc.