Deregister a Host
To deregister a host 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
Attribute | Description | Required |
---|---|---|
id | The integration ID. Use the | 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 host in Immuta
DELETE
/data/object/{connectionKey}
Delete the given host and all its child objects.
Required Immuta permission: INFRASTRUCTURE_ADMIN
or DATA_OWNER
on the object
Path parameters
Attribute | Description | Required |
---|---|---|
connectionKey | The key to uniquely identify the host connection. | Yes |
Response schema
Attribute | Description |
---|---|
connectionKey | The key to uniquely identify the host connection. |
childCount | 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 host process.
Last updated