cURL
curl --request POST \
--url https://test.deribit.com/api/v2/private/toggle_notifications_from_subaccount \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--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": 9995,
"result": "ok"
}Account Management
private/toggle_notifications_from_subaccount
Enables or disables email and other notifications for a subaccount. When notifications are disabled, the subaccount will not receive email alerts, trade confirmations, or other notification messages.
This setting only affects notifications sent to the subaccount’s email address. Notifications sent to the main account are not affected.
📖 Related Article: Managing Subaccounts
Scope: account:read_write
cURL
curl --request POST \
--url https://test.deribit.com/api/v2/private/toggle_notifications_from_subaccount \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--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": 9995,
"result": "ok"
}Query Parameters
Was this page helpful?