ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Add Domain

Deprecated: use organization service v2 AddOrganizationDomain instead.

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

POST
/orgs/me/domains

Request Body

application/json

domain*string
[key: string]?never

Response Body

application/json

curl -X POST "https://loading/orgs/me/domains" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?