alterSchemaTags
Last updated: August 12, 2026
Sets or unsets tags on a Snowflake schema.
Note: This change type does not support automatic rollback or database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands). Tags must be created before they can be applied to objects.
Available attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the database containing the schema | No |
| String | Name of the schema to alter | Yes |
| Boolean | Don't error if schema doesn't exist | No |
| Map | Key-value pairs of tags to set on the schema* | No |
| List | List of tag names to remove from the schema* | No |
* Exactly one of setTags or unsetTags must be specified. Tags must exist before use.
unsetTag attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of tag to remove | Yes |