---
title: "🛡️ Delete all the teams belonging to the account and then clone from GitHub. The \"Bots\" team will remain intact. The rest of the teams will be identical to what's on GitHub."
method: DELETE
path: "/teams/{id}"
tags: ["team", "default"]
---

# 🛡️ Delete all the teams belonging to the account and then clone from GitHub. The "Bots" team will remain intact. The rest of the teams will be identical to what's on GitHub.

`DELETE /teams/{id}`

## Request

- Base URL: `{{ server_url }}/v1`
- URL: `{{ server_url }}/v1/teams/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/athenian/apis/title/docs/teams/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Query parameters

- `unmapped` boolean

## Response `200`

List of the new, reset teams belonging to the specified account.

- Team[]: List of teams of an account.
  - `id` integer, required: Team identifier.
  - `name` string, required: Name of the team.
  - `members` Contributor[], required: List of contributors.
    - `login` string, required: User name which uniquely identifies any developer on any service provider. The format matches the profile URL without the protocol part.
    - `name` string: Full name of the contributor.
    - `email` string: Email of the conributor.
    - `picture` string: Avatar URL of the contributor.
    - `jira_user` string: Mapped JIRA user name.
  - `parent` integer, nullable, required: Identifier of the higher level team.

## Other responses

- `404`: The user does not belong to the specified account.

---

[API](https://skmtc.dev/athenian/apis/title.md) - [All operations](https://skmtc.dev/athenian/apis/title/llms.txt) - [OpenAPI document](https://skmtc.dev/athenian/apis/title/revisions/110c9f7cffdd?raw)
