ZITADEL Docs
APIsCore ResourcesV2Organization

List Organization Domains

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

Required permission:

  • org.read
POST
/v2/organizations/{organization_id}/domains/search

Path Parameters

organization_id*string

OrganizationID is the unique identifier of the organization from which the domains are to be listed.

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/search" \  -H "Content-Type: application/json" \  -d '{}'
{
  "pagination": {
    "totalResult": 0,
    "appliedLimit": 0
  },
  "domains": [
    {
      "organizationId": "string",
      "domain": "string",
      "isVerified": true,
      "isPrimary": true,
      "validationType": "DOMAIN_VALIDATION_TYPE_UNSPECIFIED"
    }
  ]
}

Was this page helpful?