cURL
curl --request GET \ --url https://test.deribit.com/api/v2/private/toggle_notifications_from_subaccount \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 9995, "method": "private/toggle_notifications_from_subaccount", "params": { "sid": 7, "state": true } } '
{ "jsonrpc": "2.0", "id": 1569, "result": "ok" }
Enable or disable sending of notifications for the subaccount.
TFA required
Scope: account:read_write
account:read_write
Try in API console
The user id for the subaccount
7
enable (true) or disable (false) notifications
true
false
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?