When you're adding or editing an IDP via the UI you can enter invalid JSON into the requested_claims field and the API will accept the value, however from that point whenever you request the list of IDPs (or any other IDP request) the API will return a 500 error with Failed to unmarshal JSON so there's no way to remove or modify the IDP with the invalid JSON.