1. Operations
2. content
3. subscribed library

## content subscribed library: 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:

#### HTTP request

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

#### Path Parameters

Name | Type | Description
--- | --- | ---
Required
library_id | string | Identifier of the subscribed library whose content should be evicted.

### Response:

#### HTTP Status Code: 200

None

#### Errors:

HTTP Status Code | Type | Description
--- | --- | ---
404 | not_found | if the library specified by `library_id` does not exist.
400 | 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.