update_flags

To set the flags of account settings, use the account/set_flags method:

Copied!
svc=account/update_flags&params={"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.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Report a mistake

Your message was sent. Thank you!

An error occurred while submitting the form

Download PDF file
Download Word document

See also