---
title: "Delete sub-tenant by ID"
method: DELETE
path: "/resources/sub-tenants/v1/{tenantId}"
tags: ["Sub-Accounts"]
---

# Delete sub-tenant by ID

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

## Request

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

Delete a sub tenant. A user or vendor token is required for this route. A user token can be obtained after user authentication.

## 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)
