मुख्य सामग्री पर जाएं

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 active को paused

Endpoint

Send a POST request to pause an active stream.

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

पथ पैरामीटर

ParameterTypeRequiredविवरण
पहचानडोरीहाँ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

FieldTypeविवरण
कोडसंख्याHTTP status code (200 for success)
msgडोरीConfirmation message
डेटाnullNo additional data returned