> For the complete documentation index, see [llms.txt](https://ajaib.gitbook.io/ajaib-exchange-open-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajaib.gitbook.io/ajaib-exchange-open-api/websocket-references/web-socket-streams/editor/unsubscribe-stream.md).

# Unsubscribe Stream

**Functionality:** To unsubscribe stream by stream name

**Authentication:** Required

Request Sample

```
{
  "method": "UNSUBSCRIBE",
  "params": [
    "BTC_IDR@trade",
    "BTC_IDR@depth5"
  ],
  "id": "1"
}
```

Response sample

{% tabs %}
{% tab title="Success" %}

```javascript
{
  "result": null,
  "id": 1
}
```

{% endtab %}
{% endtabs %}
