renameRole

Last updated: January 27, 2026

Renames an existing role in Snowflake.

Note: Automatic rollback renames the role back to original name.

Known limitation: This change type does not support database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).

Available attributes

Attribute

Type

Description

Required

oldRoleName

String

Current name of the role

Yes

newRoleName

String

New name for the role

Yes

ifExists

Boolean

Only rename if the role exists using IF EXISTS

No

loading

loading

loading

loading