content library subscribed item: evict

Evicts the cached content of a library item in a subscribed library.

This operation allows the cached content of a library item to be removed to free up storage capacity. This operation will only work when a library item is synchronized on-demand. When a library is not synchronized on-demand, it always attempts to keep its cache up-to-date with the published source. Evicting the library item will set content.library.item_model.cached to false.

Request:

HTTP request

POST https://{server}/rest/com/vmware/content/library/subscribed-item/id:{library_item_id}?~action=evict

Path Parameters

Name Type Description
Required
library_item_id string Identifier of the library item whose content should be evicted.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
404 not_found if the library item specified by library_item_id does not exist.
400 invalid_element_type if the library item specified by library_item_id is not a member of a subscribed library.
400 invalid_element_configuration if the library item specified by library_item_id is a member of a subscribed library that does not synchronize on-demand.