cURL
curl --request POST \
--url https://test.deribit.com/api/v2/private/change_subaccount_name \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 3964,
"method": "private/change_subaccount_name",
"params": {
"sid": 7,
"name": "new_user_1_1"
}
}'{
"jsonrpc": "2.0",
"id": 3964,
"result": "ok"
}Account Management
private/change_subaccount_name
Updates the display name (username) for a subaccount. The new name is used for identification purposes and does not affect the subaccount’s functionality or access.
Only the main account owner can change subaccount names.
📖 Related Article: Managing Subaccounts
Scope: account:read_write and mainaccount
cURL
curl --request POST \
--url https://test.deribit.com/api/v2/private/change_subaccount_name \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 3964,
"method": "private/change_subaccount_name",
"params": {
"sid": 7,
"name": "new_user_1_1"
}
}'{
"jsonrpc": "2.0",
"id": 3964,
"result": "ok"
}Query Parameters
Was this page helpful?