We tried to use the integration API to rotate the key using "update" but the key was not rotated.
We need to rotate the API key programmatically and update all the initiators' configurations in the same time.
As we see on the web UI the following URL is used to do that
"webapi/v3/integrations/unified/<integration id>/regenerate-token?type=azure&teamId=<ownertiemid>"
Unfortunately, we couldn't find any reference on how we could use the above URL from an application.
Could you please help how to use the rest API or the webapi to achieve or goal?