---
title: "Delete a team"
method: DELETE
path: "/teams/{uuid}"
---

# Delete a team

`DELETE /teams/{uuid}`

## Request

- Base URL: `https://public-api.leexi.ai/v1`
- URL: `https://public-api.leexi.ai/v1/teams/{uuid}`
- Auth: API key in header `Authorization`

Delete a team. Only a team with no users and no calls can be deleted; deactivate it instead with a `PATCH` setting `active` to `false`.

## Path parameters

- `uuid` string, required

## Response `200`

200

- object
  - `data` object
  - `message` string
  - `success` boolean

## Other responses

- `403`: 403
- `404`: 404
- `422`: 422

---

[API](https://skmtc.dev/leexi/apis/leexi-public-api.md) · [All operations](https://skmtc.dev/leexi/apis/leexi-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/leexi/apis/leexi-public-api/revisions/3d10e45c30f5?raw)
