Skip to main content
The checkly destroy command removes all resources associated with your project from your Checkly account, including checks, check groups, alert channels, maintenance windows, and other project-defined resources.
Before using , ensure you have:
  • An initialized Checkly CLI project
  • At least one check or resource defined in your project
  • Valid Checkly account authentication (run npx checkly login if needed)
  • A checkly.config.ts or checkly.config.js configuration file
For additional setup information, see CLI overview.
This command permanently deletes resources from your Checkly account. This action cannot be undone.

Usage

The basic command destroys all project resources with a confirmation prompt.
Terminal

Command Options

string
Specify a particular configuration file to use instead of the default checkly.config.ts or checkly.config.js.Usage:
Terminal
Examples:
Terminal
boolean
Skip confirmation dialogs and proceed with the operation.Usage:
Terminal
Use with extreme caution as this command option bypasses safety prompts.

What Gets Destroyed

The destroy command removes the all the resources managed by the specified project. These resources could include:
  • Checks (API, Browser, Heartbeat, etc.)
  • Monitors (URL, TCP, DNC, etc.)
  • Check Groups and their configurations
  • Alert Channels defined in your project
  • Maintenance Windows created via CLI
  • Private Locations (if managed by the project)

Safety Considerations

By default, the command prompts for confirmation:
Terminal