unsubscribe
Terminate an existing Redis pub/sub subscription using the subscription ID received from subscribe or psubscribe. Returns the closed subscription details.
Instructions
Unsubscribe and close an existing pub/sub subscription.
Args: subscription_id: The ID returned by subscribe() or psubscribe().
Returns: A dictionary describing the closed subscription or an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |