Skip to Content
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*organization_id

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

Request Body

application/json
  1. body
pagination?|

List limitations and ordering.

filters?array<>

Filters define the criteria to query for.

sortingColumn?sorting_column

SortingColumn is the field the result is sorted by. Beware that if you change this, your result pagination might be inconsistent.

Value in"DOMAIN_FIELD_NAME_UNSPECIFIED""DOMAIN_FIELD_NAME_NAME""DOMAIN_FIELD_NAME_CREATION_DATE"

Response Body

Success

application/json
  1. response
pagination?

Pagination of the organizations domain results.

domains?array<>

Domains is a list of fully qualified domain names registered to the organization matching the query.

Example Request
curl -X POST 'https://example.com/v2/organizations/string/domains/search' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "pagination": {    "totalResult": 0,    "appliedLimit": 0  },  "domains": [    {      "organizationId": "string",      "domain": "string",      "isVerified": true,      "isPrimary": true,      "validationType": "DOMAIN_VALIDATION_TYPE_UNSPECIFIED"    }  ]}

Was this page helpful?