Set GUI Storage Account Description
API-v2gui_storage::set_account_description
Sets or replaces the description field for the specified account.
| Parameter | Type | Required | Description |
|---|---|---|---|
| account_id | AccountId | ✓ | Account to update. |
| description | string | ✓ | New description (≤ 600 characters). |
| Parameter | Type | Description |
|---|---|---|
| result | string | Returns success when the description has been updated. |
set_account_description
POST
gui_storage::set_account_description{
"mmrpc": "2.0",
"method": "gui_storage::set_account_description",
"params": {
"account_id": {
"type": "hd",
"account_idx": 0
},
"description": "My hardware account"
},
"id": 17,
"userpass": "RPC_UserP@SSW0RD"
}
| Parameter | Type | Description |
|---|---|---|
| DescriptionTooLong | string | Provided description exceeds maximum length. |
| NoSuchAccount | string | The specified account_id does not exist. |
| ErrorLoadingAccount | string | Storage read error. |
| ErrorSavingAccount | string | Storage write error. |
| InternalError | string | Unhandled internal error. |