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.
- Access theSubscribedLibraryor theLocalLibraryservice by using thevSphere AutomationEndpoint.
- Retrieve the library ID you want to delete.
- Call thedeletefunction 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.