Problem: we used to do /usr/sbin/foreman-rake puppet:import:environments_only[true] in order to import just the existing environments from our puppetmaster (v5), but since foreman version 1.24 it has been removed.
I am not able to find a matching API action here Foreman :: API v2
How do you import automatically environments via API?
Thanks in advance and best regards,
**Foreman and Proxy versions:1.24.3-1
**Distribution and version:Debian GNU/Linux 9.13 (stretch)