---
updatedAt: 2025-09-22T22:25:53.000Z
agentTools:
  projectIndex: https://dev.tensor.trade/llms.txt
---

# unsubscribe

## Arguments

`subscriptionId: string`

## Request

```javascript JavaScript
socket.send(JSON.stringify({
  "event": "unsubscribe",
  "payload": {
    "subscriptionId": "xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
}}));
```

## Response

```javascript Response
{
  status: "ok",
  id: "Unsubscribed from subscription ${payload.subscriptionId}"
}
```