---
title: "Delete a team"
method: DELETE
path: "/v1/teams/{team_id}"
tags: ["Teams"]
---

# Delete a team

`DELETE /v1/teams/{team_id}`

Delete an existing team.

If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager.

The "All-incidents" team (is_global=true) cannot be deleted.

## Path parameters

- `team_id` integer, required

## Response `204`

The team was deleted successfully.

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — Forbidden Call
- `404` — Team not found
- `503` — API under maintenance

---

[API](https://skmtc.net/gitguardian/apis/gitguardian-api.md) · [All operations](https://skmtc.net/gitguardian/apis/gitguardian-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitguardian/gitguardian-api/revisions/511b067cdcb1/schema)
