cURL
curl --request GET \ --url https://test.deribit.com/api/v2/public/unsubscribe_all \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 153, "method": "public/unsubscribe_all", "params": {} } '
{ "jsonrpc": "2.0", "id": 1569, "result": "ok" }
Unsubscribe from all the channels subscribed so far. This method takes no parameters.
Try in API console
Success response
The JSON-RPC version (2.0)
2.0
Result of method execution. ok in case of success
ok
The id that was sent in the request
Was this page helpful?