You can delete a library not currently in use by an integration.
In the navigation pane,
click Design, then
Libraries.
Hover over the library to delete.
Click Actions, then select Delete.
If any of the library’s functions are used by an
integration, the Library is in use dialog is displayed and you are prevented
from deleting the library. You must remove the functions from the integration
before you can delete the library.