Ir diretamente para o conteúdo principal

Pause a Stream – Streams REST API

Atualizado em
Jul 20, 2026

Visão geral

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 active para paused

Endpoint

Send a POST request to pause an active stream.

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

Parâmetros do caminho

ParameterTipoRequiredDescrição
idcadeia de caracteresSimThe 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"

Resposta

On success, the API returns a confirmation message.

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

Response Fields

FieldTipoDescrição
códigonúmeroHTTP status code (200 for success)
msgcadeia de caracteresConfirmation message
dadosnullNo additional data returned