Subscriptions are canceled with a regular RPC call with eth_unsubscribe as method and the subscription id as first parameter. It returns a bool indicating if the subscription was canceled successfully
Parameters
1.
subscription id
Example
NOTE: eth_unsubscribe requests cannot be replicated in the composer tool