Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions cli/checkly-destroy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ npx checkly destroy [options]
|--------|----------|-------------|
| `--config, -c` | - | The Checkly CLI configuration file. If not passed, uses the `checkly.config.ts\|js` file in the current directory. |
| `--force, -f` | - | Force mode. Skips the confirmation dialog. |
| `--preserve-resources` | - | Delete the project but keep its resources in your account, unbound from any project. |

## Command Options

Expand Down Expand Up @@ -62,6 +63,17 @@ npx checkly destroy -f
<Warning>Use with extreme caution as this command option bypasses safety prompts.</Warning>
</ResponseField>

<ResponseField name="--preserve-resources" type="boolean">
Delete the project but keep its resources (checks, groups, alert channels, etc.) in your Checkly account. The resources become unbound from the project and can be imported into another project later.

**Usage:**

```bash Terminal
npx checkly destroy --preserve-resources
```

</ResponseField>

## What Gets Destroyed

The `destroy` command removes the all the resources managed by the specified project. These resources could include:
Expand Down