deleteOrganizationDomain

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

Deletes an organization domain.

Return

A ClerkResult containing either a DeletedObject on success or a ClerkErrorResponse on failure

Parameters

organizationId

The unique identifier of the organization

domainId

The unique identifier of the domain to delete

See also