remove unused untested controller api/environments