Identity API - Update Federation call not working
91
Created On 11/10/26 10:31 AM - Last Modified 11/10/26 15:50 PM
Symptom
Currently the API call for this item does not work as documented. Eventually the documentation will be updated. In the meantime here is a workaround to create a working powershell script that calls the API.
Environment
Identity Cyber-Ark API/SDK
Resolution
First, browse to the UI to make a normal call via the UI, first opening the chrome developer tools to the network : Fetch/XHR page.
- Make a call with test data (Used here: James / James1
- Right click the "Update Federation" item and copy as PowerShell.
- Paste this into a new powershell script.
- Search for the mappings.
- Replace the highlighted temp value object with the desired values, replicate as necessary and pay attention to the delimiters.
- The pasted script will contain the auth key - if this is to be run later either manually or programatically update this key.
You should now have a script that can be used to call the Update Federation API.