remove unsecured endpoint