src/controllers/GroupController.php
public function delete($groupId)
    {
        try {
            $group = Sentry::getGroupProvider()->findById($groupId);
            $group->delete();
        } catch (\Cartalyst\Sentry\Groups\GroupNotFoundException $e) {
            return Response::json(array('deletedGroup' => false, 'message' => trans('syntara::groups.messages.not-found'), 'messageType' => 'danger'));
        }

        return Response::json(array('deletedGroup' => true, 'message' => trans('syntara::groups.messages.delete-success'), 'messageType' => 'success'));
    }
public function delete($groupId)
    {
        try {
            $group = Sentry::getGroupProvider()->findById($groupId);
            $group->delete();
        } catch (\Cartalyst\Sentry\Groups\GroupNotFoundException $e) {
            return Response::json(array('deletedGroup' => false, 'message' => trans('syntara::groups.messages.not-found'), 'messageType' => 'danger'));
        }

        return Response::json(array('deletedGroup' => true, 'message' => trans('syntara::groups.messages.delete-success'), 'messageType' => 'success'));
    }
Delete group
@param  int $groupId
@return Response