Delete a Content Library

When you no longer need a content library, you can invoke the
delete
method on either the
LocalLibrary
or the
SubscribedLibrary
service depending on the library type.
  1. Access the
    SubscribedLibrary
    or the
    LocalLibrary
    service by using the
    vSphere Automation
    Endpoint.
  2. Retrieve the library ID you want to delete.
  3. Call the
    delete
    function on the library service and pass the library ID as argument.
    All library items cashed on the storage backing are removed asynchronously. If this operation fails, you must manually remove the content of the library.