REST API - evict
com.vmware.content.subscribed_library
evict
POST /com/vmware/content/subscribed-library/id:{library_id}?~action=evict |
POST /com/vmware/content/subscribed-library?~action=evict |
Evicts the cached content of an on-demand subscribed library.
This operation allows the cached content of a subscribed library to be removed to free up storage capacity. This operation will only work when a subscribed library is synchronized on-demand.
- Request:
-
- Representations:
{
"library_id": "obj-103"
}<?xml version="1.0" ?>
<ns0:Evict-Input xmlns:ns0="http://vmware.com/content/subscribed_library" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<library_id>obj-103</library_id>
</ns0:Evict-Input>POST /com/vmware/content/subscribed-library?~action=evict
&library_id=obj-103- Parameters:
Name Type Required Description library_id *
ID Yes Identifier of the subscribed library whose content should be evicted. Id of type com.vmware.content.Library. - Response:
-
- Representations:
- Parameters:
Name Type Required Description result VOID Yes - Errors:
-
Type Description HTTP Status Code not_found if the library specified by library_id
does not exist.404 invalid_element_type if the library specified by library_id
is not a subscribed library.400 not_allowed_in_current_state if the library specified by library_id
does not synchronize on-demand.400
Copyright © 2014. All Rights Reserved.