Creating Routing rules


How to achieve the below action from the console via API/Java SDK?

Security -> Identity Providers -> Routing Rules


I have been able to create routing rules… it took a while to track down…

start with:
GET /api/v1/policies?type=IDP_DISCOVERY
the response will contain a link to the rules { “_links”: { “rules”: { “href”: … }. } }

Then you can POST to that url…

Construct one manually, fetch it with the url, then you can see what yours needs to look like…


@msplett That’s an impressive find!
Thank you for the response, let me try this and get back to you.