# Setup organization IdP **PUT /organizations/{organization_id}/idp** Sets up an organization's IdP. Currently unavailable in self-hosted ECE. ## Servers - https://api.elastic-cloud.com/api/v1: https://api.elastic-cloud.com/api/v1 () ## Parameters ### Path parameters - **organization_id** (string) Identifier for the Organization ### Body: application/json (object) The IdP configuration - **enabled** (boolean) Whether or not the IdP is enabled - **login_identifier_prefix** (string) The prefix of the login identifier that will be generated - **saml_idp** (object) SAML2 IdP configuration object ## Responses ### 200 The IdP info #### Body: application/json (object) - **login_identifier** (string) The login identifier that is unique to this organization - **sso_login_url** (string) The Elastic Cloud login URL for this IdP - **metadata_url** (string) The SAML2 metadata url for downloading the SAML2 SP metadata XML - **acs** (string) The SAML2 assertion consumer service of the SP - **sp_entity_id** (string) The SP entity ID and the audience for SAML2 response assertions - **signing_certificate** (array[string]) The certificate that will sign SAML2 requests to the IdP - **configuration** (object) The organization's IdP configuration ### 404 Organization not found. (code: `organization.not_found`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request [Powered by Bump.sh](https://bump.sh)