This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:account:update_flags [30/01/2013 14:36] zuve |
en:sidebar:remoteapi:apiref:account:update_flags [28/10/2014 10:42] zuve |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n>9}} | {{indexmenu_n>9}} | ||
- | ====== Set configuration flags ====== | + | ====== Set account settings flags ====== |
- | To set configuration flags of account use command **account/set_flags**: | + | To set account settings flags, block and/or deny balance values please use **account/set_flags** command: |
<code javascript> | <code javascript> | ||
- | svc=account/set_flags¶ms={"itemId":<long>, | + | svc=account/update_flags¶ms={"itemId":<long>, |
- | "flags":<long>} | + | "flags":<long>, |
+ | "blockBalance":<double>, | ||
+ | "denyBalance":<double>} | ||
</code> | </code> | ||
===== Parameters ===== | ===== Parameters ===== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | itemId | resource(account) ID | | + | | itemId | resource (account) ID | |
- | | flags | settings flags for account (see [[get_account_data#Response | Detailed information about account]]) | | + | | 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 ===== | ===== Response ===== |
|