On this page

Set GUI Storage Account Name

API-v2gui_storage::set_account_name

Sets a new name for the specified account.

ParameterTypeRequiredDescription
account_idAccountIdAccount to rename.
namestringNew display name (≤ 255 characters).

ParameterTypeDescription
resultstringReturns success when the name has been updated.

set_account_name

POST
gui_storage::set_account_name
{
  "mmrpc": "2.0",
  "method": "gui_storage::set_account_name",
  "params": {
    "account_id": {
      "type": "iguana"
    },
    "name": "Legacy Account"
  },
  "id": 16,
  "userpass": "RPC_UserP@SSW0RD"
}

ParameterTypeDescription
NameTooLongstringProvided name exceeds maximum length.
NoSuchAccountstringThe specified account_id does not exist.
ErrorLoadingAccountstringStorage read error.
ErrorSavingAccountstringStorage write error.
InternalErrorstringUnhandled internal error.