Deregister a Connection
Data API reference guide
To deregister a connection from Immuta, do the following:
Step 1: Generate the cleanup script
POST
/integrations/{id}/scripts/delete
Creates a script to remove Immuta-managed resources from your data platform.
Required Immuta permission: APPLICATION_ADMIN
Path parameters
id integer
The integration ID. Use the GET /integrations
endpoint to list all your integrations and their IDs.
Yes
Response
The response returns the script that you will run in your Databricks Unity Catalog or Snowflake environment. Copy it for later.
Step 2: Delete the connection in Immuta
DELETE
/data/object/{connectionKey}
Delete the given connection and all its child objects.
Required Immuta permission: INFRASTRUCTURE_ADMIN
or DATA_OWNER
on the object
Path parameters
connectionKey string
The key to uniquely identify the connection. This is the same as the display name of the connection in the Immuta UI.
Yes
Response schema
connectionKey string
The key to uniquely identify the connection.
childCount integer
The number of child objects of the data object that were deleted.
Example response
Step 3: Run the cleanup script in your data platform
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 connection process.
Last updated