remove publish endpoint