Restrictions
Three rules block deletion in the dashboard and the API:Deleting from the dashboard
1
Switch to a different environment
You can’t delete the environment you’re currently viewing. Switch to another active environment first.
2
Open the environment list
From the environment switcher dropdown, open the tree or list view.
3
Choose Delete on the target
The delete control surfaces a confirmation dialog with the environment’s name and a final warning.
4
Confirm by typing the name
Type the environment’s name to confirm — protection against accidental deletion of the wrong row.
5
Wait for the cleanup
Status moves to
archived briefly while resources are decommissioned, then the environment disappears from the switcher.What happens during deletion
The platform runs a cleanup sequence and removes the environment from the project hierarchy:
After deletion, the environment’s name is free to be reused — though we recommend not reusing it immediately, since clients with cached endpoints may still try to connect.
What survives deletion
Two things outlive a deleted environment:- Backups — both manual and pre-merge backups taken while the environment existed remain in the project’s Backups view. Restore one to recreate the environment. See Restoring to a deleted environment.
- Migration history — entries in the project-level history remain. Audit trails don’t disappear when environments do.
Deleting via GraphQL
master is rejected, environments with children are rejected, and environments in merging status are rejected. On success, the database and configuration are gone.
FAQ
Can I undo a deletion?
Can I undo a deletion?
Not as an undo. The environment’s database is dropped immediately. To recover, restore one of the backups taken while the environment existed — the platform recreates the environment as part of the restore. See Backups → Restoring to a deleted environment.
What happens to the children if I delete a parent?
What happens to the children if I delete a parent?
You can’t. The platform rejects deleting an environment with active children. Delete or archive the children first, then the parent. The tree view shows the children to handle.
What about API keys, integration credentials, and webhooks scoped to the deleted environment?
What about API keys, integration credentials, and webhooks scoped to the deleted environment?
All gone — they’re per-environment and cleaned up during deletion. Any external system using credentials issued for that environment will start failing immediately.
Can I delete an archived environment?
Can I delete an archived environment?
Archive is currently a transient state during deletion. Once a deletion completes, the environment disappears entirely.
What's the right way to retire an environment without losing data?
What's the right way to retire an environment without losing data?
Take a manual backup, mark it retain forever, then delete the environment. The backup keeps the data accessible for restore later, while the environment’s resources (database, gateway routes, etc.) are released.