src/controllers/UserController.php
public function delete($userId)
    {
        try {
            if($userId !== Sentry::getUser()->getId()) {
                $user = Sentry::getUserProvider()->findById($userId);
                $user->delete();
            } else {
                return Response::json(array('deletedUser' => false, 'message' => trans('syntara::users.messages.remove-own-user'), 'messageType' => 'danger'));
            }
        } catch (\Cartalyst\Sentry\Users\UserNotFoundException $e) {
            return Response::json(array('deletedUser' => false, 'message' => trans('syntara::users.messages.not-found'), 'messageType' => 'danger'));
        }

        return Response::json(array('deletedUser' => true, 'message' => trans('syntara::users.messages.remove-success'), 'messageType' => 'success'));
    }
public function delete($userId)
    {
        try {
            if($userId !== Sentry::getUser()->getId()) {
                $user = Sentry::getUserProvider()->findById($userId);
                $user->delete();
            } else {
                return Response::json(array('deletedUser' => false, 'message' => trans('syntara::users.messages.remove-own-user'), 'messageType' => 'danger'));
            }
        } catch (\Cartalyst\Sentry\Users\UserNotFoundException $e) {
            return Response::json(array('deletedUser' => false, 'message' => trans('syntara::users.messages.not-found'), 'messageType' => 'danger'));
        }

        return Response::json(array('deletedUser' => true, 'message' => trans('syntara::users.messages.remove-success'), 'messageType' => 'success'));
    }
Delete user
@param  int $userId
@return  Response