public void deleteCatalog(Context ctx) {
    String catalogName = ctx.pathParam("catalogName");
    Preconditions.checkArgument(
        StringUtils.isNotEmpty(ctx.pathParam("catalogName")), "Catalog name is empty!");
    catalogService.dropCatalog(catalogName);
    ctx.json(OkResponse.of("OK"));
  }
Delete some catalog and information associate with the catalog
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/CatalogController.java