Refs #31733 - drop Environment assignmet API
Extracted in https://github.com/theforeman/foreman_puppet_enc/pull/100
Refs #31733 - drop Environment assignmet API
Extracted in https://github.com/theforeman/foreman_puppet_enc/pull/100