update_flags
To set the flags of account settings, use the account/set_flags method:
svc=account/update_flags¶ms={"itemId":<long>,
"flags":<long>,
"blockBalance":<double>,
"denyBalance":<double>}
Parameters
The request must contain the following parameters:
Parameter | Description |
---|---|
itemId | Resource (account) ID. |
flags | Account settings flags. Read more about account flags on the get_account_data page. |
blockBalance | The balance value at which the account is blocked. |
denyBalance | The balance value at which the paid services become unavailable. |
Response
If flags are updated successfully, an empty object is returned.
Otherwise, an error code is returned.