Skip to main content

diagrid region delete

Delete a region

Description

Delete a region.

This permanently deletes the region and every project using it, along with any Diagrid-provisioned infrastructure for it. A private region runs on your own Kubernetes cluster, which is not deprovisioned. You are asked to type the region name to confirm; pass --approve to skip the prompt in non-interactive contexts.

diagrid region delete <region-id> [flags]

Examples


# Delete a region (prompts for the region name to confirm)
diagrid region delete my-region

# Delete a region without the confirmation prompt
diagrid region delete my-region --approve

# Delete a region with output in JSON format
diagrid region delete my-region --output json

Options

--approve Skip confirmation prompt
-y, --yes Skip confirmation prompt
-o, --output string Output format, supported [table, yaml, json] (default "table")
-h, --help help for delete

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO