# Delete a Team

> Delete a cloud or local Team you own: what goes for everyone in it, what stays, and the three steps that confirm it.

Source: https://air.build/docs/team/delete-a-team/

Deleting a Team removes it for everyone in it, at once, and it can't be undone. Only the Team's owner can delete it. In some places the app labels a Team a "workspace", for example **Delete Workspace** and **Delete This Workspace…**; those labels are written here as the app shows them.

## Before you delete

- **Keep the projects you need.** Move them to another Team first; see [Move a project to another Team](https://air.build/docs/projects/move-project/). Or save their code; see [Share or export a project's source](https://air.build/docs/projects/share-and-export-source/).
- **Hand the Team over instead.** If other people still work in it, make one of them the owner and leave; see [Invite people to your Team](https://air.build/docs/team/invite-people/#make-someone-else-the-owner).
- **Only leaving?** A member can't delete a Team they joined, but can leave it; see [Invite people to your Team](https://air.build/docs/team/invite-people/#leave-a-team).
- **Have a sign-in at hand.** You confirm by signing in again with Google, GitHub or Apple, whichever your account uses.

**Delete Workspace** isn't offered for the only Team in your list.

## What is deleted

The first step of the sheet says what goes, and it differs for a cloud Team and a local Team:

|  | Cloud Team | Local Team |
| --- | --- | --- |
| What the sheet says | "All conversations, agent configurations, project files, and workspace records will be permanently deleted. This action cannot be undone." | "All conversations, agent configurations, and workspace records will be deleted. Local project files on this Mac will remain untouched." |
| Chats, Agents and their settings | Deleted | Deleted |
| Project files | Deleted with the Team's cloud environment | Left in their folders on the Mac that ran the Team |

For both kinds, the Agents' sign-ins to outside services (their Connections) are removed, and so are the backends your Projects run on AirHost, with their databases and app users (see [Host your app's backend, database and sign-in (AirHost)](https://air.build/docs/services/host-a-backend/)).

The Team leaves the list of everyone in it. Nothing at Apple is deleted: your apps in App Store Connect stay where they are.

## Delete the Team

Start from the Team's page in Settings, or from the account menu while a local Team is open.

**iPhone**

Open **Settings**, tap the Team in the **Teams** card, then tap **Delete Workspace**, the red row at the foot of the page. It's there for a cloud Team and for a local Team.

While a local Team is open, you can also tap your photo in the top-right corner of Home (on iPad, your picture at the foot of the sidebar) and choose **Delete This Workspace…**.

**Mac**

For a local Team, open **AirBuild › Settings…**, click the Team in the sidebar, then click **Delete Workspace** in the **Workspace** section. While that Team is open, you can also click your picture at the foot of the sidebar and choose **Delete This Workspace…**.

A cloud Team can't be deleted on the Mac. Delete it from AirBuild on iPhone or iPad.

Then:

1. **Delete Workspace** asks **Delete “_name_”?** and says what goes, as in the table above. Tap **Continue**.
2. **Verify It’s You** says "Sign in again to delete this workspace." Tap **Continue with Google**, **Continue with GitHub** or **Continue with Apple** (the sheet offers the ones your account has) and sign in with the account you use in AirBuild. On the Mac, the sign-in opens in your web browser.
3. **Confirm Deletion** asks **Delete “_name_”?** again, over "This can’t be undone." Tap **Delete Workspace**. The sheet shows **Deleting…**, then closes.

**Cancel** leaves at any step, and nothing is deleted before the last one. On the Mac, the second and third steps also have a back button.

## After it's deleted

- If the Team was open, the app opens another of your Teams.
- If it was the only Team you owned, AirBuild makes you a new, empty cloud Team.
- A deleted cloud Team no longer counts toward the number of cloud Teams you can have, so you can make another one right away; see [Create a Team](https://air.build/docs/team/create-a-team/).
- After deleting a local Team, its Mac can host a new one. To work on one of the old project folders again, make a local Team on that Mac and import the folder; see [Import a folder from your Mac](https://air.build/docs/get-started/import-local-folder/).

## If something goes wrong

| What the sheet says | What to do |
| --- | --- |
| "That’s not the account you’re signed in with." | You signed in with another AirBuild account. Tap the button again and sign in with the account you use in the app. |
| "Unable to sign in. Check your connection and try again." | Check your connection and tap the sign-in button again. |
| "This account can’t sign in to the app again. To delete this workspace, email support@yellowplus.app." | Your account has no Google, GitHub or Apple sign-in to confirm with. Add one under **Connected Accounts** in Settings › [Account](https://air.build/docs/settings/account/#connected-accounts), or email support@yellowplus.app. |
| A message with **Try Again** on **Verify It’s You** | The app couldn't read your sign-in methods. Tap **Try Again**. |
| "Team not found." on **Confirm Deletion** | The Team was already deleted, or you aren't its owner: only the owner can delete a Team. Nothing was deleted. To stop using a Team you joined, leave it; see [Invite people to your Team](https://air.build/docs/team/invite-people/#leave-a-team). |
| The sheet goes back to **Verify It’s You** after you tap **Delete Workspace** | Your sign-in is no longer accepted for deleting. Sign in again, then tap **Delete Workspace**. |
| A message on **Confirm Deletion** | The Team wasn't deleted. Read the reason, then tap **Delete Workspace** again. |

## Questions

**Why don't I see Delete Workspace?**

Only the owner has it, and never for the only Team in your list. On the Mac it's offered for local Teams only; delete a cloud Team from iPhone or iPad.

**Can I get a deleted Team back?**

No. The Team, its chats and its Agents are gone for good, and for a cloud Team so are its project files.

**Does deleting a local Team delete the project folders on my Mac?**

No. They stay where they are on the Mac that ran the Team.

**What happens to the people in the Team?**

They lose the Team, its projects and its chats. Their accounts and their other Teams aren't affected.

**Does deleting my account delete my Teams?**

Yes, every Team you own, for everyone in it. See [Sign out or delete your account](https://air.build/docs/team/delete-your-account/).
