deleteOrganization

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

Deletes an organization.

Return

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

Parameters

organizationId

The unique identifier of the organization to delete

See also