SYSTEM$DISABLE_PREVIEW_ACCESS
functionsupportedAccounts, users, sessions, warehousesDisables access to open preview and private preview features. See also: SYSTEM$GET_PREVIEW_ACCESS_STATUS, SYSTEM$ENABLE_PREVIEW_ACCESS, SYSTEM$DISABLE_FEATURE_GROUPS_PREVIEW
Syntax
SYSTEM$DISABLE_PREVIEW_ACCESS()
Returns
Returns a VARCHAR status message that preview features have been disabled:
Usage notes
- Applies to both private and open preview features.
- This is an all-or-nothing setting that affects all users and all previews within an account.
- Any user in the account who is using a preview feature will lose access to that feature immediately after SYSTEM$DISABLE_PREVIEW_ACCESS is executed.
- Snowflake Marketplace products, which are managed separately through IMPORTED PRIVILEGES, are not covered as part of this capability.
- Client-side libraries (such as Snowpark API) are not covered as part of this capability.
Access control requirements
- Only account administrators (users with the ACCOUNTADMIN role) can execute this function.