To deregister a host from Immuta, do the following:
POST
/integrations/{id}/scripts/delete
Creates a script to remove Immuta-managed resources from your data platform.
Required Immuta permission: APPLICATION_ADMIN
id integer
Yes
The response returns the script that you will run in your Databricks Unity Catalog or Snowflake environment. Copy it for later.
DELETE
/data/object/{connectionKey}
Delete the given host and all its child objects.
Required Immuta permission: INFRASTRUCTURE_ADMIN
or DATA_OWNER
on the object
connectionKey string
The key to uniquely identify the host connection.
Yes
connectionKey string
The key to uniquely identify the host connection.
childCount integer
The number of child objects of the data object that were deleted.
Using the copied generated cleanup script from earlier, run it in your Snowflake or Databricks Unity Catalog environment as a privileged user.
The script will remove any objects that were initially created during the Register a host process.
The integration ID. Use the endpoint to list all your integrations and their IDs.