Run API for many host from full stack to infra only

using builtin:host.monitoring.mod I can do one using the post settings/objects API.  How would I format one command where I have 400 host.

[{“schemaId”:“builtin:host.monitoring.mode”,“schemaVersion”:“1.2.0”,“scope”:“HOST-5EDAD70B7766F2B9”,“value”:{“monitoringMode”:“INFRA_ONLY”}}]

Hi,

You are using a POST request… Do you want to know which host are in Fullstack and Infra mode, right?

Best regards

Hi,

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.

Regards,

Ajay

Thanks!