cURL
curl --request GET \ --url https://test.deribit.com/api/v2/private/set_email_for_subaccount \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 1667, "method": "private/set_email_for_subaccount", "params": { "sid": 7, "email": "user_1_1@email.com" } } '
{ "jsonrpc": "2.0", "id": 1569, "result": "ok" }
Assign an email address to a subaccount. User will receive an email with a confirmation link.
TFA required
Scope: account:read_write
account:read_write
Try in API console
The user id for the subaccount
7
The email address for the subaccount
"user_1_1@email.com"
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?