Differences
This shows you the differences between two versions of the page.
|
|
en:sidebar:remoteapi:apiref:account:update_flags [28/10/2014 10:42] zuve |
en:sidebar:remoteapi:apiref:account:update_flags [28/10/2014 11:42] |
{{indexmenu_n>9}} | |
====== Set account settings flags ====== | |
| |
To set account settings flags, block and/or deny balance values please use **account/set_flags** command: | |
| |
<code javascript> | |
svc=account/update_flags¶ms={"itemId":<long>, | |
"flags":<long>, | |
"blockBalance":<double>, | |
"denyBalance":<double>} | |
</code> | |
| |
===== Parameters ===== | |
^ Name ^ Description ^ | |
| itemId | resource (account) ID | | |
| flags | account settings flags (see [[get_account_data#Response | Detailed information about account]]) | | |
| blockBalance | block balance value | | |
| denyBalance | deny balance value | | |
:!: You can get additional info about kinds of balances in [[./get_account_data#account_flags|Account flags]] section. | |
| |
| |
===== Response ===== | |
<code=javascript> | |
{} /* empty object if execution successful, if not - error code */ | |
</code> | |