---
title: "Delete tenant (account)"
method: DELETE
path: "/resources/tenants/v1/{tenantId}"
tags: ["Tenants (Accounts)"]
---

# Delete tenant (account)

`DELETE /resources/tenants/v1/{tenantId}`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/tenants/v1/{tenantId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/tenants/v1/:tenantId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a tenant and all users of that tenant.If tenant is a part of the hierarchy, then all of its sub-tenants are assigned to deleted tenant's parent. A vendor token is required for this route, it can be obtained from the vendor authentication route.

## Path parameters

- `tenantId` string, required

## Other responses

- `404`: When the given tenant doesn't exist.

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
