DROP GOVERNED TAG
Applies to: Databricks SQL
Databricks Runtime 18.1 and above
Unity Catalog only
Drops a governed tag.
When a governed tag is dropped, it is not removed from objects it was applied to. Instead, the tag becomes ungoverned: the tag key and any existing tag values remain on objects, but the tag is no longer subject to a tag policy.
To execute this statement, you must have the MANAGE permission on the governed tag.
Syntax
DROP GOVERNED TAG tag_key
Parameters
-
tag_key
The tag key of an existing governed tag in the account. If there is no governed tag with this tag key, Databricks returns a
NOT_FOUNDerror.
Examples
SQL
-- Drop a governed tag.
> DROP GOVERNED TAG isPii;