---
title: "Delete Tenant"
method: DELETE
path: "/v2/facts/{proj_id}/{env_id}/tenants/{tenant_id}"
tags: ["Tenants"]
---

# Delete Tenant

`DELETE /v2/facts/{proj_id}/{env_id}/tenants/{tenant_id}`

## Request

- Base URL: `https://api.permit.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.permit.io/v2/facts/{proj_id}/{env_id}/tenants/{tenant_id}`
- Auth: HTTP bearer

Deletes the tenant and all its related data.

## Path parameters

- `tenant_id` string, required: Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the "slug").
- `proj_id` string, required: Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
- `env_id` string, required: Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/permit/apis/permit-io-api.md) - [All operations](https://skmtc.dev/permit/apis/permit-io-api/llms.txt) - [OpenAPI document](https://skmtc.dev/permit/apis/permit-io-api/revisions/fa0edf4238b3?raw)
