Enable/disable account

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

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

Parameters

Name Description
itemId resource (account) ID
enable mode: 0 – disable, 1 – enable

Response

{}	/* empty object if execution successful, if not - error code */