#Is it possible to trigger a cluster refresh via the REST API in AIQUM?

1 messages · Page 1 of 1 (latest)

vapid shore
#

Hi,
Is it possible to force a cluster refresh via the REST API in AIQUM?

I’m currently working on an Ansible automation that queries AIQUM for cluster-related information. To ensure accuracy, I need to be sure that the data is up-to-date.

#

I’ve skimmed through the documentation, and I don’t see anything about it.

limpid thistle
#

It isn't publicly documented but you can do it via
curl -X POST "https://<UM hostname or ip>/api/management-server/admin/datasources/<cluster_uuid>:type=cluster,uuid=<cluster_uuid>/discover"

That will return a job id.

vapid shore
#

@limpid thistle thank you 🙂