api v2 environments - environments CRUD