prepareAffiliationVerification

@FormUrlEncoded
@POST(value = "organizations/{organization_id}/domains/{domain_id}/prepare_affiliation_verification")
abstract suspend fun prepareAffiliationVerification(@Path(value = "organization_id") organizationId: String, @Path(value = "domain_id") domainId: String, @Field(value = "affiliation_email_address") affiliationEmailAddress: String): ClerkResult<OrganizationDomain, ClerkErrorResponse>

Prepares affiliation verification for an organization domain by sending a verification email.

Return

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

Parameters

organizationId

The unique identifier of the organization

domainId

The unique identifier of the domain

affiliationEmailAddress

The email address to send the verification code to

See also