Skip to main content

DROP GOVERNED TAG

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime 18.1 and above check marked yes 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_FOUND error.

Examples

SQL
-- Drop a governed tag.
> DROP GOVERNED TAG isPii;