DROP EXTERNAL CONSUMER

statementsupportedNative apps, listings & sharing

docs.snowflake.com ↗

Object: EXTERNAL CONSUMER

Removes an external consumer from the account. You can’t drop an external consumer while any listing targets it.

Syntax

supportedpartialnot supportednot scored

DROP EXTERNAL CONSUMER [ IF EXISTS ] <name>

Parameters

NameRequiredDescription
IF EXISTSDrops the external consumer only if one with the specified name exists. If no external consumer with that name exists, the command does nothing and completes successfully instead of returning an error.
nameSpecifies the identifier for the external consumer to drop.

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes OWNERSHIP | External Consumer | Required to drop the external consumer. 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.

See also

Referenced by