Request
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | unsubscribe |
content.clientRequestId | string | No | Client-generated UUID for correlation |
content.subscriptions | array | Yes | One or more subscriptions to remove |
Response
| Field | Type | Required | Description |
|---|---|---|---|
data.activeSubscriptions | array | Yes | Remaining active subscriptions after the operation |
data.clientRequestId | string | No | Client-generated UUID for correlation |
data.requestedUnsubscriptions | array | Yes | The specific subscriptions that were requested to be removed |
resultType | string | Yes | unsubscribed |
Behavior
- Only active subscriptions are removed
- Removing a non-active subscription is a no-op
- Other subscriptions remain unaffected
- Changes apply immediately
- Safe to call repeatedly (idempotent)
- Does not affect other connections
- Does not require reconnecting