When you delete a catalog (such as an Apache Iceberg REST catalog or Apache Hive catalog), the system unregisters the metadata management endpoint from the Lakehouse runtime catalog.
Although this removes the catalog from Lakehouse for Apache Iceberg, it does not automatically delete the underlying Cloud Storage warehouse bucket or your stored data files.
Before you begin
-
Verify that billing is enabled for your Google Cloud project.
-
Enable the BigLake API.
Roles required to enable APIs
To enable APIs, you need the Service Usage Admin IAM role (
roles/serviceusage.serviceUsageAdmin), which contains theserviceusage.services.enablepermission. Learn how to grant roles.
Required roles
To get the permissions that you need to delete a catalog, ask your administrator to grant you the following IAM roles on your project:
-
All:
- BigLake Admin (
roles/biglake.admin) - Storage Admin (
roles/storage.admin)
- BigLake Admin (
For more information about granting roles, see Manage access to projects, folders, and organizations.
You might also be able to get the required permissions through custom roles or other predefined roles.
Delete a catalog
Delete a catalog endpoint.
Console
In the Google Cloud console, open the Lakehouse page.
In the row of the catalog that you're deleting, click More catalog actions > Delete.
In the delete dialog, enter
DELETEand click Delete.
REST
To delete a catalog management endpoint using the REST API, make a DELETE
request to the DeleteIcebergCatalog endpoint:
DELETE /iceberg/v1/restcatalog/extensions/projects/PROJECT_ID/catalogs/CATALOG_ID
Replace the following:
PROJECT_ID: your Google Cloud project ID.CATALOG_ID: the ID of your Lakehouse runtime catalog.