---
title: "Delete a Stack"
description: "Learn to delete a stack in Contentstack. Back up your data to ensure security before proceeding."
url: "https://www.contentstack.com/docs/headless-cms/delete-a-stack"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-07-23"
---

# Delete a Stack

Deleting a stack removes all associated [entries](/docs/headless-cms/about-entries), [assets](/docs/headless-cms/about-assets), and settings. This action cannot be undone. Back up any critical data to prevent unintended data loss.

**Note:** Only the Stack [Owner](/docs/headless-cms/types-of-roles#owner) can delete a stack.

To delete a stack, log in to your [Contentstack account](https://www.contentstack.com/login/) and perform the following steps:

1.  Go to your [stack](/docs/headless-cms/about-stack) and click the “Settings” icon or use the shortcut key “S” (for Windows and Mac OS users).
2.  On the **Stack Settings** page, click **Delete Stack**.
    
    ![Stack Settings page showing the Delete Stack option](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt55d565d8569fab9e/67beff62304ea9d30d82c9f1/Setup-a-Stack-Delete-Stack-Delete-Icon.png "Delete Stack")
    
3.  In the **Delete Stack** modal, enter DELETE to confirm.
    
    ![](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt3ef953263210350e/67c032f94f9066ab238f6541/Setup-a-Stack-Delete-a-Stack-Delete-confirmation-modal.png)
    

Once confirmed, the stack and all associated data are permanently removed.

**Note:** As an organization [owner](/docs/administration/about-administration-roles#organization-owner), you can delete stacks directly from the **Org Admin** page.

**Warning:** If you accidentally delete a stack, the Contentstack Support team can restore the data. Refer to the [Restore Deleted Content](/docs/headless-cms/restore-deleted-content) document for further information.

# API Reference

To delete a stack via API, refer to the [Delete a Stack](https://www.contentstack.com/docs/developers/apis/content-management-api/stacks#delete-stack) API Request.