Hi,
I'm new to Centreon (24.04), and I'm probably missing something.
I want to add my host via the API (using Ansible). I managed to do it using this endpoint: /centreon/api/latest/configuration/hosts
.
The host creation is successful, and it's linked to the correct template, but no services are created.
How can I achieve this, similar to the option in the host creation GUI that says "Create Services linked to the Template too"?
I've looked everywhere in the API documentation but couldn't find any clues: https://docs-api.centreon.com/api/centreon-web/#tag/Host.
Can someone please help?