Identity API - Update Federation call not working

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

1.PNG

  • Right click the "Update Federation" item and copy as PowerShell.
  • Paste this into a new powershell script.

2 (2).PNG

  • Search for the mappings.
  • Replace the highlighted temp value object with the desired values, replicate as necessary and pay attention to the delimiters.

3.PNG

  • 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.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000jRlCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail