remove envs endpoint