Create a new organization for an IdP
For creating a new IdP organization in E2E Cloud, you must follow the sequence of steps below after calling this API:
- Create an Organization for the IdP.
- Create a Realm for the newly created Organization.
- Upload the Federation (IdP) Metadata XML file to the created Realm using the API:
POST /myaccount/api/v1/sso/organizations/{organization_id}/realms/{realm_id}/identity-sources/saml/idp-metadata/ - Create SSO Clients for the created Realm and organization.
- Verify the client configurations and SSO setup.
- Enable SSO for the Organization once all configurations are verified using Update IdP API.
POST
/sso/organizations/Query parameters
project_idQueryintegerrequiredProject ID Find your project id here
locationQuerystringrequiredLocation (Delhi and Chennai)
Request body
application/json
Name of the SSO organization
example
idp-624178Whether SSO is enabled for the organization
example
falseResponses
201Organization created successfully
example
019a783b-8688-7578-a47a-25536922f02eexample
ern:e2e:organizations::master-account:organization/019a783b-8688-7578-a47a-25536922f02eexample
64058431970example
idp-624178example
nullexample
nullexample
1790example
ACTIVEexample
falseexample
2025-11-12T13:22:38.346570Zexample
2025-11-12T13:22:38.346613Z