REST API: Cluster: Update a cluster and Change a host to cluster?

**CMK version:2.0.0p31
**OS version:RHEL8

Hello,

has somebody an REST API example of the following to requirements?

  1. update a cluster
  2. change a host to cluster

The host and update by REST API is no problem any more but now we need the following REST API solution.

Please let me know haw your code is for these two requirements-

Thanks a lot!
Best regards
JP

Hi ,

Bumping this thread as im curious as well if this is possible or not. Or a feature in the works. Or if theres a way to create a cluster host through rest API

Many thanks,

Hello

The creation is no problem but the update of a cluster.

Creation see at your site documentation at:
https:// XX your host XX / XXyour site XX/check_mk/openapi/#operation/cmk.gui.plugins.openapi.endpoints.host_config.create_cluster_host

Best regards

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.