alterSchemaManagedAccess

Last updated: January 30, 2026

Enables or disables managed access for a Snowflake schema. Managed access schemas centralize privilege management by allowing only schema owners (or roles with MANAGE GRANTS privilege) to grant privileges on objects within the schema.

Note: Automatic rollback toggles the managed access setting back.

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

catalogName

String

Name of the database containing the schema

No

schemaName

String

Name of the schema to modify

Yes

ifExists

Boolean

Don't error if the schema doesn't exist

No

enableManagedAccess

Boolean

true to enable, false to disable managed access

Yes

loading

loading

loading

loading