getOrganizationDomainList()
Gets the list of Verified Domains for the given Organization. By default, the list is returned in descending order by creation date (newest first).
Returns a PaginatedResourceResponse object with a data property containing an array of OrganizationDomain objects and a totalCount property containing the total number of Verified Domains for the Organization.
function getOrganizationDomainList(params: GetOrganizationDomainListParams): Promise<PaginatedResourceResponse<OrganizationDomain[]>>const organizationId = 'org_123'
const response = await clerkClient.organizations.getOrganizationDomainList({ organizationId })Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint GET/organizations/{organization_id}/domains. See the BAPI reference for more information.
Feedback
Last updated on