updateEnrollmentMode
@FormUrlEncoded
@POST(value = "organizations/{organization_id}/domains/{domain_id}/update_enrollment_mode")
Updates the enrollment mode for an organization domain.
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
enrollmentMode
The new enrollment mode to set
deletePending
Whether to delete pending invitations (optional)