To enable/disable an account, use the command account/enable_account:
svc=account/enable_account¶ms={"itemId":<long>, "enable":<bool>}
Name | Description |
---|---|
itemId | resource (account) ID |
enable | mode: 0 - disable, 1 - enable |
{} /* empty object if execution successful, if not - error code */