> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a tenant

<Snippet file="graphql/sdk-note.mdx" />

Deleting a tenant unlinks it from all of its customers and removes any associated tenant fields. Threads previously linked to the tenant retain a reference to the deletion record but are no longer routed via it.

A tenant is identified by either its Plain `tenantId` or its `externalId`.

This operation requires the following permissions:

* `tenant:delete`

<Snippet file="graphql/delete-tenant.mdx" />
