ZITADEL Docs
APIsCore ResourcesV1Organization Objects

ListOrgDomains

Search Domains

Deprecated: use organization service v2 ListOrganizationDomains instead.

Returns the list of registered domains of an organization. The domains are used to identify to which organization a user belongs.

POST
/orgs/me/domains/_search

Request Body

application/json

query?

list limitations and ordering

queries?

criteria the client is looking for

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/orgs/me/domains/_search" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "totalResult": 0,
    "processedSequence": 0,
    "viewTimestamp": "1s"
  },
  "result": [
    {
      "orgId": "string",
      "details": {
        "sequence": 0,
        "creationDate": "1s",
        "changeDate": "1s",
        "resourceOwner": "string"
      },
      "domainName": "string",
      "isVerified": true,
      "isPrimary": true,
      "validationType": "DOMAIN_VALIDATION_TYPE_UNSPECIFIED"
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?