This assigns an existing IdP to an application. An application can have only one IdP, so unassign the existing IdP before you assign another. To unassign IdPs in bulk, set the method parameter to DELETE and send the unassign request body with the app-IdP association uuid_url values in deleted_objects. When you don't set method, send the assign request body.
The operation responds with a 400 error if the IdP or application isn't found, or if the IdP can't be used with the application. For example, a tunnel app needs an IdP with the access client enabled, and a device authentication IdP works only with certain applications. A request to unassign also responds with a 400 error if the application has a manual configuration override and is deployed, or if the application's group associations are used in a group-based path rewrite rule. If any unassignment fails, the request makes no changes.
Unassigning an IdP also removes the application's directory assignments and group associations. Unassigning an association that doesn't exist isn't an error.
