Removing IDPs fails

I'm trying to remove IDPs using V1 APIs but they don't seem to be working on our self-hosted v2.71.11. We are not at a stage for upgrading to v4, however I've reproduced this issue on that version as well.

How do I remove an IDP that has been added to my organization?

Here is a response for some of my active identity providers:
{
  "data": {
    "attributes": [
      {
        "id": "347758644164559325",
        "name": "MockSAML",
        "type": "IDENTITY_PROVIDER_TYPE_SAML"
      }
    ]
  }
}


But removing it with that id fails rpc error: code = NotFound desc = Identity Provider Configuration doesn't exist (QUERY-rhR2o)

api.ManagementService().RemoveOrgIDP(ctx, &managementRequests.RemoveOrgIDPRequest{
            IdpId: idpId,
        })


This feels related to the issue questions-help-bugsListing IDPs sends an empty response where listing IDPs returns an empty response.
Was this page helpful?