deleteDomain
suspend fun Organization.deleteDomain(domainId: String): ClerkResult<DeletedObject, ClerkErrorResponse>
Deletes a domain from this organization.
Note: This operation is irreversible. Once deleted, users with email addresses matching this domain will no longer be able to automatically join the organization.
Return
A ClerkResult containing a DeletedObject confirmation on success, or a ClerkErrorResponse on failure.
Parameters
domainId
The unique identifier of the domain to delete.