if(availableSingleTenantCartridges.containsKey(cartridgeType)){
availableSingleTenantCartridges.remove(cartridgeType);
} else if(availableMultiTenantCartridges.containsKey(cartridgeType)){
availableMultiTenantCartridges.remove(cartridgeType);
} else{
throw new RestAPIException("invalid cartridge type");
}
StratosAdminResponse stratosAdminResponse = new StratosAdminResponse();
stratosAdminResponse.setMessage("Successfully delete cartridge definition");
return stratosAdminResponse;
}