DROP ARTIFACT REPOSITORY

statementsupportedContainer services & dev tooling

docs.snowflake.com ↗

Object: ARTIFACT REPOSITORY

Removes the specified artifact repository from the current or specified schema.

Syntax

supportedpartialnot supportednot scored

DROP ARTIFACT REPOSITORY [ IF EXISTS ] <name>

Parameters

NameRequiredDescription
nameSpecifies the identifier of the artifact repository to drop. If the identifier isn’t fully qualified, the command looks for the repository in the current schema for the session.

Usage notes

Access control requirements

Your role must have the following privileges on objects: Privilege | Object OWNERSHIP | Artifact repository that you remove Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent schema. 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