Skip to main content

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:

  1. Create an Organization for the IdP.
  2. Create a Realm for the newly created Organization.
  3. 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/
  4. Create SSO Clients for the created Realm and organization.
  5. Verify the client configurations and SSO setup.
  6. Enable SSO for the Organization once all configurations are verified using Update IdP API.
POST/sso/organizations/

Query parameters

Request body

application/json

object
namestring

Name of the SSO organization

exampleidp-624178
sso_enabledboolean

Whether SSO is enabled for the organization

examplefalse

Responses

201Organization created successfully
object
idstring
example019a783b-8688-7578-a47a-25536922f02e
ernstring
exampleern:e2e:organizations::master-account:organization/019a783b-8688-7578-a47a-25536922f02e
org_refstring
example64058431970
namestring
exampleidp-624178
emailstring
examplenull
domainstring
examplenull
customer_idstring
example1790
statusstring
exampleACTIVE
sso_enabledboolean
examplefalse
created_atstring·date-time
example2025-11-12T13:22:38.346570Z
updated_atstring·date-time
example2025-11-12T13:22:38.346613Z