DELETE /v2/streaming/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}/channels/{channelName}

restnot supportedData loading & unloading

docs.snowflake.com ↗

Snowpipe Streaming

The Drop Channel operation drops a Named Channel and its metadata on the server. Set fail_on_uncommitted_rows to true to reject the drop when uncommitted rows exist. If you leave it false, Snowflake can discard in-flight data.

Syntax

DELETE /v2/streaming/databases/{databaseName}/schemas/{schemaName}/pipes/{pipeName}/channels/{channelName}

Parameters

NameInRequiredDescription
databaseNamepathrequiredDatabase name, case-insensitive
schemaNamepathrequiredSchema name, case-insensitive
pipeOrTableNamepathrequiredPipe or table name, case-insensitive
channelNamepathrequiredChannel name, case-insensitive
fail_on_uncommitted_rowsbodyoptionalBoolean. When true, the server rejects the request with HTTP 409 Conflict (ERR_CHANNEL_HAS_UNCOMMITTED_DATA) if the channel has uncommitted in-flight data. Otherwise, in-flight data is silently discarded and can slow co-located channels on the pipe (default: false).
requestIdqueryoptionalA UUID used to track requests through the system
AuthorizationheaderrequiredAuthentication token
X-Snowflake-Authorization-Token-TypeheaderoptionalJWT/OAuth
Content-Type (required when the request has a body)headerrequiredMedia type of the request body. Use application/x-ndjson for append-rows requests. Use application/json for open-channel, drop-channel, and bulk channel-status bodies. Use application/x-www-form-urlencoded for the scoped-token exchange.
Content-EncodingheaderoptionalSpecifies the compression format of the payload. Supported: gzip, zstd.
User-AgentheaderoptionalIdentifies the client application. Recommended format: SnowpipeStreamingSDK/{version} ({platform}) {LANGUAGE}/{language_version} (app={partner-name}). Example: SnowpipeStreamingSDK/1.0.0 (Linux amd64) PYTHON/3.11.0 (app=MyPartnerApp).

Response

This operation returns a payload with no specific successful response other than the HTTP status code.