> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lazyraccoon.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Team

> DELETE /api/teams/:slug

## Request

```bash theme={null}
DELETE /api/teams/:slug
```

Soft-deletes a team. Requires **owner** role.

### Path parameters

| Parameter | Type     | Description |
| --------- | -------- | ----------- |
| `slug`    | `string` | Team slug   |

### Example

```bash theme={null}
curl -X DELETE https://lazyraccoon.dev/api/teams/my-team \
  -H "Authorization: Bearer lr_your_key"
```

## Response

Returns `204 No Content` on success.

<Warning>
  This action soft-deletes the team. The team and its data are permanently removed after 30 days.
</Warning>
