Delete a Folder
In this guide, you will remove a Guardrails folder using the console UI. Removing a folder takes it, and the resources tracked under it, out of the Guardrails CMDB. Nothing in your cloud accounts is affected, and anything removed can be imported again later. Policy settings and permissions scoped to the folder are removed.
Prerequisites
- Access to the Guardrails console with
Turbot/AdminorTurbot/Ownerpermissions at the folder level or above.
[!CAUTION] Removing a folder also removes the resources tracked under it from Guardrails, and removes any policy settings and permission grants scoped to that folder. Review the folder's Policies and Permissions tabs, and its child resources, before removing it to understand the impact.
Step 1: Navigate to the Folder
Open the folder you want to remove, from the Explore tree of its parent resource or by navigating directly to its detail page.
Step 2: Open the Remove Dialog
Click Actions in the top-right corner and select Remove from Turbot. The Remove Folder ... from Turbot CMDB? confirmation dialog opens.

The dialog states how many resources will be removed (the folder plus any resources tracked under it) and explains that the action only removes data from Guardrails, not from your cloud accounts.
Step 3: Confirm and Delete
Type the folder's full name (for example, Staging Environment) in the confirmation field. The Delete button becomes enabled once the name matches. Leave Retain history for deleted resources checked to keep the removal history.
Click Delete to remove the folder. Guardrails navigates you to the parent resource after removal.
Troubleshooting
| Issue | Solution |
|---|---|
| Delete button stays disabled | The typed name must match the folder's title exactly, including capitalization and spaces. |
| Child resources are gone after removal | Resources tracked under the folder are removed from Guardrails along with it. Re-import them (or the folder's cloud accounts) to bring them back. |
| Policies stopped working after removal | Policy settings scoped to the removed folder are removed. Recreate the settings at the parent or a new folder. |
| Permission denied | Confirm you have Turbot/Admin or Turbot/Owner permissions at the folder level or above. |
| Further assistance | Open a Support Ticket |
Next Steps
- Create a Folder: Create a new folder to reorganize your hierarchy.
- Rename a Folder: Update a folder's display name.