跳转至主要内容

Pause a Stream – Streams REST API

更新于
Jul 20, 2026

概述

Temporarily pauses an active stream to stop data ingestion while preserving your stream configuration. Use this endpoint when you need to temporarily halt data delivery without deleting the stream.

Key behaviors:

  • Data delivery stops immediately
  • Stream configuration is preserved
  • Can be resumed later using the Activate Stream endpoint
  • Stream status changes from activepaused

Endpoint

Send a POST request to pause an active stream.

POST https://api.quicknode.com/streams/rest/v1/streams/{id}/pause

路径参数

Parameter类型Required描述
id字符串The unique identifier (UUID) of the stream to pause

Example Request

curl -X POST "https://api.quicknode.com/streams/rest/v1/streams/f6ad6459-b5ad-4183-b370-1c1388e47e83/pause" \
-H "accept: application/json" \
-H "x-api-key: YOUR_API_KEY"

回复

On success, the API returns a confirmation message.

{
"code": 200,
"msg": "Stream paused successfully",
"data": null
}

Response Fields

Field类型描述
代码数字HTTP status code (200 for success)
msg字符串Confirmation message
数据nullNo additional data returned