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 |
|---|---|---|---|
resultType | string | Yes | unsubscribed |
data.activeSubscriptions | array | Yes | All currently active subscriptions after the operation |
data.requestedUnsubscriptions | array | Yes | The subscriptions requested to be removed |
data.clientRequestId | string | No | Client-generated UUID for correlation |
data.statusCode | number | Yes | 200 |
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