API method to add custom attributes to IDP?

Is there an API we can use to add custom attributes to all IDP records vs using the Admin UI? We’ve automated creating an IDP as part of our application and need to be able to add these custom attributes to each IDP instance either at creation, or globally.

Hi @ray! I don’t see this as a current option per Identity Providers | Okta Developer. Please feel free to add your use case as a feature request on our Ideas page.

@sigama Thank you, I’ve submitted the idea. Quick follow up, is there a way we could set a custom attribute on the IDP schema so that every IDP we create carries the custom attribute? If we could do that via the Admin panel, that might be a workaround to setting the attribute on each IDP.