remove beta from endpoint url