---
title: "Delete a tenant"
method: POST
path: "/tenants/{id}/destroy"
tags: ["Administration"]
---

# Delete a tenant

`POST /tenants/{id}/destroy`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/tenants/{id}/destroy`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/tenants/:id/destroy/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required: The unique ID of the resource.

## Response `204`

No Content

## Other responses

- `400`: Invalid name supplied
- `404`: Tenant not found

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
