ZITADEL Docs
APIsCore ResourcesV2Organization

Add Organization Domain

Add a new domain to an organization. The domains are used to identify to which organization a user belongs.

Required permission:

  • org.write
POST
/v2/organizations/{organization_id}/domains

Path Parameters

organization_id*string

OrganizationID is the unique identifier of the organization to which the domain is to be added.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/v2/organizations/string/domains" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{
  "creationDate": "2023-01-15T01:30:15.01Z"
}

Was this page helpful?