user.unblock

    This method allows to unblock users.

    This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See for more information.

    (object) Returns an object containing the IDs of the unblocked users under the userids property.

    Unblocking multiple users

    Unblock two users.

    Response:

    1. "jsonrpc": "2.0",
    2. "result": {
    3. "5"
    4. ]
    5. },
    6. }

    CUser::unblock() in ui/include/classes/api/services/CUser.php.