> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kraken.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Stream

> Cancel an existing stream by request ID. The stream stops sending data; no response unless there is an error.

<Note>Public channel. Connect to: `wss://wss.prime.kraken.com/ws/v1`</Note>

Cancels an existing stream by request ID. No response is sent unless there is an error — the stream associated with the specified `reqid` simply stops sending data.

If there is an error (for example, the `reqid` does not exist or the stream is already cancelled), an error response may be sent with details about the failure.

## Request

<Tabs>
  <Tab title="Request Schema">
    <ParamField path="reqid" type="number" required>
      Request ID to cancel. Must match an existing subscription request ID from a [Subscribe](/institutional/api-reference/prime-websocket/subscribe) request.
    </ParamField>

    <ParamField path="type" type="string" required>
      Request type for cancelling the subscription. Value: `cancel`
    </ParamField>
  </Tab>

  <Tab title="Example">
    ```json theme={null}
    {
      "reqid": 1,
      "type": "cancel"
    }
    ```
  </Tab>
</Tabs>

## Response

No response is sent unless there is an error. The stream associated with the specified `reqid` will stop sending data.
