enable_account

To enable or disable an account, use the account/enable_account command:

Copied!
svc=account/enable_account&params={"itemId":<long>,
                   "enable":<bool>}

Parameters

The request must contain the following parameters:

Parameter Description
itemId Resource (account) ID.
enable Mode: 0 — disable, 1 — enable.

Response

If the account is enabled 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.

Your message was sent. Thank you!

Report a mistake

An error occurred while submitting the form

Download PDF file
Download Word document

See also