alterShareComment

Last updated: January 27, 2026

Sets or removes the comment on an existing share in Snowflake.

Note: This change type does not support automatic rollback or database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).

Available attributes

Attribute

Type

Description

Required

shareName

String

Name of the share to alter

Yes

ifExists

Boolean

Don't error if the share doesn't exist

No

newComment

String

New comment text to set*

No

unsetComment

Boolean

Remove the existing comment*

No

* Exactly one of newComment or unsetComment must be specified.

loading

loading

loading

loading