DROP ORGANIZATION USER
statementsupportedAccounts, users, sessions, warehousesEnterprise+Removes an organization user from the organization. Organization users and organization user groups require Enterprise Edition. To inquire about upgrading, please contact Snowflake Support.
Syntax
supportedpartialnot supportednot scored
DROP ORGANIZATION USER [ IF EXISTS ] <name>
Parameters
| Name | Required | Description |
|---|---|---|
name | Identifier for the organization user; must be unique for your organization. The identifier value must start with an alphabetic character and cannot contain spaces or special characters unless the entire identifier string is enclosed in double quotes (for example, "My object"). Identifiers enclosed in double quotes are also case sensitive. For more information, see Identifier requirements. |
Usage notes
- Dropped organization users cannot be recovered; they must be recreated.
- When the IF EXISTS clause is specified and the target object doesn’t exist, the command completes successfully without returning an error.
Access control requirements
A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes OWNERSHIP | Organization user | 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.