remove endpoint config