getOrganizationDomain

@GET(value = "organizations/{organization_id}/domains/{domain_id}")
abstract suspend fun getOrganizationDomain(@Path(value = "organization_id") organizationId: String, @Path(value = "domain_id") domainId: String): ClerkResult<OrganizationDomain, ClerkErrorResponse>

Retrieves a specific organization domain by its ID.

Return

A ClerkResult containing either the OrganizationDomain on success or a ClerkErrorResponse on failure

Parameters

organizationId

The unique identifier of the organization

domainId

The unique identifier of the domain

See also