Skip to main content
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"
}

Query Parameters

sid
integer
required

The user id for the subaccount

Example:

7

email
string
required

The email address for the subaccount

Example:

"user_1_1@email.com"

Response

200 - application/json

Success response

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
enum<string>
required

Result of method execution. ok in case of success

Available options:
ok
id
integer

The id that was sent in the request