# Get organization service provider SAML2 metadata.xml for configuring the identity provider **GET /organizations/{organization_id}/idp/metadata.xml** Gets the oranization's IdP metadata.xml. 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 ## Responses ### 200 The IdP info #### Body: application/xml (string) string ### 404 IdP was not configured yet. (code: `org.idp.idp_not_configured`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/xml (object) - **errors** (array[object]) A list of errors that occurred in the failing request [Powered by Bump.sh](https://bump.sh)