content local library: delete

Deletes the specified local library.

Deleting a local library will remove the entry immediately and begin an asynchronous task to remove all cached content for the library. If the asynchronous task fails, file content may remain on the storage backing. This content will require manual removal.

Request:

HTTP request

DELETE https://{server}/rest/com/vmware/content/local-library/id:{library_id}

Path Parameters

Name Type Description
Required
library_id string Identifier of the local library to delete.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
400 invalid_element_type if the library specified by library_id is not a local library.
404 not_found if the library specified by library_id does not exist.