API to link new SAML SP to IDP

We are using our APM as a SAML IDP and trying to automate adding new SAML SPs to it.

I found the restAPI to configure a new SP but can’t find a programmable way to link the new SP to an existing IDP.

Thoughts??

no love?