You can use this utility created to convert Hosts from Fullstack to Infra or vice versa: BizOpsConfigurator
Make sure you use right Tenant URL, API token and Hostgroup parameters to change the monitoring mode. Please use the dry run option to ensure & validate your request before applying the request real time.