5.5

Table Of Contents
<Entity
href="https://vcloud.example.com/api/vAppTemplate/vappTemplate-111"
type="application/vnd.vmware.vcloud.vAppTemplate+xml"
name="Ubuntu vApp Template" />
</CatalogItem>
Remove an Item from a Catalog
An organization administrator or a user with adequate permissions can remove a CatalogItem by making a
DELETE request to its rel="remove" link.
Removing a CatalogItem also removes the referenced vApp template or media image from the catalog's
storage.
Prerequisites
n
Verify that you are logged in as a user with the Catalog Author role, as an organization administrator of
the organization that owns the catalog, or as a system administrator.
n
Verify that the target catalog does not have an external subscription.
Procedure
1 Retrieve the catalog item from the catalog.
2 Locate the rel="remove" link in the CatalogItem element.
3 Make a DELETE request to the href value of the rel="remove" link in the CatalogItem.
Example: Remove an Item from a Catalog
This request removes the source catalog item that was copied in “Example: Copy a Catalog Item,” on
page 77.
Request:
DELETE https://vcloud.example.com/api/catalogItem/221
Response:
204 No Content
Synchronize a Catalog or Catalog Item
Catalogs that have external subscriptions are synchronized with their external sources by a background
process that the system administrator controls. You can also force synchronization of individual catalog
items or entire catalogs at any time.
Prerequisites
Verify that you are logged in as a user with the Catalog Author role, as an organization administrator of the
organization that owns the catalog, or as a system administrator.
Procedure
1 Retrieve the XML representation of a catalog that has an external subscription.
Use a request like this one:
GET https://vcloud.example.com/api/catalog/32
2 Examine the Catalog element to find the CatalogItem elements that it contains.
Chapter 4 Provisioning an Organization
VMware, Inc. 79