DROP INTEGRATION
Removes an external access integration. Requires global SUPER.
Syntax
DROP [ EXTERNAL ACCESS ] INTEGRATION [ IF EXISTS ] <integration_name>
DROP INTEGRATION and DROP EXTERNAL ACCESS INTEGRATION are aliases for this object. IF EXISTS suppresses the missing-integration error. Metadata service errors still fail the statement.
Dropping an integration does not drop its rules or UDFs. UDFs that reference the missing integration reject later requests after the policy change propagates. They do not fall back to the config allow list.
Integration grants remain after the object is dropped. Recreating the same name can make those grants effective again. Revoke unwanted grants before dropping the integration.
Example
Assume the role and integration exist:
REVOKE USAGE ON INTEGRATION udf_access FROM ROLE udf_developer;
DROP INTEGRATION udf_access;
Use the long form for an optional cleanup:
DROP EXTERNAL ACCESS INTEGRATION IF EXISTS udf_access;
For propagation and privilege behavior, see External Access Integrations.