ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddOrgDomain

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

application/json

curl -X POST "https://loading/orgs/me/domains" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?