PUT /admin/catalog/{id}/owner
Operation:
PUT /admin/catalog/{id}/owner
Description:
Update the owner of a catalog.
The request body specifies the new owner
Since:
1.5
Input parameters
the catalog owner of {@link OwnerType}
Consume media type(s):
application/vnd.vmware.vcloud.owner+xml
Input type:
OwnerType
Output parameters
Produce media type(s):
None
Output type:
None
Examples
Request
HTTP 1.1
PUT /api/admin/catalog/2a8c1427-7ba9-4a5a-ba08-040b630d9859/owner
Headers:
Content-Length: 223
Content-Type: application/vnd.vmware.vcloud.owner+xml; charset=ISO-8859-1
x-vcloud-authorization: FQMWZgFq5mhMRSpt2ecxnsAXTxRpxdbZ/z2u6uwEH+w=
Body:
<?xml version="1.0" encoding="UTF-8"?>
<
vcloud:Owner
xmlns:vcloud
=
"http://www.vmware.com/vcloud/v1.5"
>
<
vcloud:User
href
=
"https://vcloud.example.com/api/admin/user/00e13556-35dc-41b2-8001-e4abf998e694"
/>
</
vcloud:Owner
>
Response
HTTP/1.1 204 No Content
Headers:
Content-Type: application/*+xml;version=5.5
Vary: Accept-Encoding
Body: