ALTER ORGANIZATION PROFILE

statementpartialNative apps, listings & sharing

docs.snowflake.com ↗

Object: ORGANIZATION PROFILE

Modifies the properties of an organization profile using an inline YAML manifest, or using a YAML manifest file located in a stage location.

Syntax

supportedpartialnot supportednot scored

ALTER ORGANIZATION PROFILE [ IF EXISTS ] <name> AS '<yaml_manifest_string>'

ALTER ORGANIZATION PROFILE [ IF EXISTS ] <name> RENAME TO <new_name>

ALTER ORGANIZATION PROFILE [ IF EXISTS ] <name> PUBLISH

ALTER ORGANIZATION PROFILE <name> ADD VERSION [ [ IF NOT EXISTS ] <version_alias_name> ]
  FROM @<yaml_manifest_stage_location>

ALTER ORGANIZATION PROFILE <name> ADD LIVE VERSION [ [ IF NOT EXISTS ] <version_alias_name> ]
  FROM LAST

ALTER ORGANIZATION PROFILE <name> COMMIT

ALTER ORGANIZATION PROFILE <name> ABORT

Parameters

NameRequiredDescription
nameSpecifies the identifier (name) for the organization profile being altered. Organization profile names can only contain uppercase characters or numbers, and they must start with an uppercase character.
RENAME TO new_nameChanges the name of the organization profile to new_name. The new identifier must be unique within the current organization. The identifier must conform to Snowflake identifier requirements. See Identifier requirements. Additionally, organization profile names can only contain uppercase characters or numbers, and they must start with an uppercase character. Note An organization profile with the same name cannot already exist in the organization; otherwise, the statement returns an error.
PUBLISHMakes a previously undiscoverable organization profile discoverable.
ADD VERSION [ [ IF NOT EXISTS ] version_alias_name ]Specifies the unique version identifier for the version being added. If version_alias_name isn’t specified, an alias isn’t created. If the identifier contains spaces, special characters, or mixed-case characters, the entire identifier must be enclosed in double quotes. Identifiers enclosed in double quotes are also case sensitive. The FIRST, LAST, DEFAULT, and LIVE keywords are reserved as version shortcuts and can’t be used. The unique version identifier can’t start with “version$” and can’t contain slashes ( / ). For information about identifier syntax, see Identifier requirements.
ADD LIVE VERSION [ [ IF NOT EXISTS ] version_alias_name ]Adds a new live editable version with the specified name from the last committed version. version_alias_name is optional and if it isn’t specified, an alias isn’t created. If the identifier contains spaces, special characters, or mixed-case characters, the entire identifier must be enclosed in double quotes. Identifiers enclosed in double quotes are also case sensitive. The FIRST, LAST, DEFAULT, and LIVE keywords are reserved as version shortcuts and can’t be used. The unique version identifier can’t start with “version$” and can’t contain slashes ( / ). For information about identifier syntax, see Identifier requirements. Changes made to the files in a live version are not applied to the organization profile until the live version is committed. The properties of an organization profile remain unchanged until the live version is committed.
AS yaml_manifest_stringThe YAML manifest for the organization profile. For organizational listing profile manifest fields, see Organization profile manifest reference. Inline manifests are normally provided as dollar-quoted strings. For more information, see Dollar-quoted string constants.
FROM 'yaml_manifest_stage_location'Specifies the external stage, internal stage, or Snowflake Git repository clone YAML format manifest stage location.
COMMITCommits the changes in the organization profile. The live version being committed must contain a valid organization profile manifest file.
ABORTDiscards the changes in the organization profile.

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes OWNERSHIP or MODIFY | Organization profile | For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

Known gaps

Parts not fully supported, and recorded divergences from Snowflake.

See also

Referenced by