This functionality is only available for certain module packages.

deleteImport

Deletes the stated library from the stated project.

deleteImport(String projectName, String libraryName)
Argument String projectName Name of the project.
String libraryName Name of the library
Return value void