PUT /admin/org/{id}/settings/vAppTemplateLeaseSettings

Operation:
PUT /admin/org/{id}/settings/vAppTemplateLeaseSettings
Description:
Update organization vApp template lease settings.
Since:
1.5
Input parameters
the {@link OrgVAppTemplateLeaseSettingsType} parameter

Consume media type(s):
application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml
Input type:
OrgVAppTemplateLeaseSettingsType
Output parameters
JAXBElement

Produce media type(s):
application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml
Output type:
OrgVAppTemplateLeaseSettingsType
Examples
Request
HTTP 1.1
PUT /api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/vAppTemplateLeaseSettings

Headers:
Content-Length: 723
Content-Type: application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml; charset=ISO-8859-1
x-vcloud-authorization: FQMWZgFq5mhMRSpt2ecxnsAXTxRpxdbZ/z2u6uwEH+w=

Body:
<?xml version="1.0" encoding="UTF-8"?><vcloud:OrgVAppTemplateLeaseSettings
    xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
    href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/vAppTemplateLeaseSettings"
    type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml">
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/vAppTemplateLeaseSettings"
        rel="edit"
        type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml"/>
    <vcloud:DeleteOnStorageLeaseExpiration>false</vcloud:DeleteOnStorageLeaseExpiration>
    <vcloud:StorageLeaseSeconds>2592000</vcloud:StorageLeaseSeconds>
</vcloud:OrgVAppTemplateLeaseSettings>
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 823
Content-Type: application/vnd.vmware.admin.vapptemplateleasesettings+xml;version=5.5
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?><OrgVAppTemplateLeaseSettings
    xmlns="http://www.vmware.com/vcloud/v1.5"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/vAppTemplateLeaseSettings"
    type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml"
    xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
    <Link
        href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/vAppTemplateLeaseSettings"
        rel="edit"
        type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml"/>
    <DeleteOnStorageLeaseExpiration>false</DeleteOnStorageLeaseExpiration>
    <StorageLeaseSeconds>2592000</StorageLeaseSeconds>
</OrgVAppTemplateLeaseSettings>