Forum Discussion

Ichnafi's avatar
Ichnafi
Icon for Cirrostratus rankCirrostratus
Jan 12, 2024

BigIQ - how to trigger a rediscover/reimport of all devices by API

Hello fellow F5 admins,

I'm looking for an elegant way of triggering a rediscover/reimport of all our devices currently known to our BigIQ by an API call (to build an ansible playbook in the end).
Can anyone point me into the right direction or even better, has a working solution?

There seems to be only an endpoint for redicovering and reimporting single devices. Do I really have to:

  1. get list of all devices
  2. loop over that list and trigger a reimport for every device individually?

Any input would be much appreciated.

Cheers
Ichnafi