static StratosAdminResponse undeployCartridge(String cartridgeType) throws RestAPIException {
CloudControllerServiceClient cloudControllerServiceClient = getCloudControllerServiceClient();
if (cloudControllerServiceClient != null) {
try {
cloudControllerServiceClient.unDeployCartridgeDefinition(cartridgeType);
} catch (RemoteException e) {
log.error(e.getMessage(), e);
throw new RestAPIException(e.getMessage(), e);
} catch (CloudControllerServiceInvalidCartridgeTypeExceptionException e) {
String msg = e.getFaultMessage().getInvalidCartridgeTypeException().getMessage();