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.

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.

Verify that the target catalog does not have an external subscription.

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.

This request removes the source catalog item that was copied in Example: Copy a Catalog Item.

Request:

DELETE https://vcloud.example.com/api/catalogItem/221

Response:

204 No Content