v3

latestOpenAPI 3.0.02026-07-311784111.3 MB
Account Management
Private

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

Try in API console

get/private/change_subaccount_name

Query parameters

sidinteger required
Example:7

The user id for the subaccount

namestring required
Example:new_user_1_1

The new user name

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

result'ok' required

Result of method execution. ok in case of success