From 4f75bc08388f22d10a96d609cb7f347f511fceb0 Mon Sep 17 00:00:00 2001
From: Ian Saultz <52051793+atierian@users.noreply.github.com>
Date: Tue, 10 Dec 2024 15:10:43 -0500
Subject: [PATCH] update terminate sandbox environment docus
---
.../deploy-and-host/sandbox-environments/setup/index.mdx | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx
index 6f428437279..5507b808153 100644
--- a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx
+++ b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx
@@ -59,9 +59,13 @@ After a successful deployment, `sandbox` watches for file changes in your `ampli
### Terminating a sandbox environment
-After testing all the changes associated with the backend, you can terminate the sandbox session via Ctrl+c and can then choose whether you want to keep or delete all the resources in the sandbox environment.
+After testing all the changes associated with the backend, you can terminate the sandbox session via Ctrl+c.
-
+To delete all the resources in the sandbox environment, run the following command:
+
+```bash title="Terminal" showLineNumbers={false}
+npx ampx sandbox delete
+```
## Manage sandbox environments