projects
projects delete
Delete a project
Permanently delete a project and all its associated databases, cache rules,
domains, and replicas. This action cannot be undone. A confirmation prompt is
shown unless --yes is passed. If no project ID is provided, uses the linked
project in the current directory.
Usage
pgbeam projects delete [id] [flags]Options
| Option | Description | Required | Default |
|---|---|---|---|
<id> | Project ID to delete. Uses the linked project if omitted. | No | - |
--yes, -y | Skip the confirmation prompt (useful for scripts and CI/CD) | No | false |
Global options
All global options (--token, --profile,
--project, --org, --json, --no-color, --debug) are also available on
this command.
Examples
# Delete the linked project (with confirmation)
pgbeam projects delete
# Delete a specific project
pgbeam projects delete prj_xxx
# Delete without confirmation (CI/CD)
pgbeam projects delete prj_xxx --yesOutput
Prints a success message confirming the project was deleted. Exits with a non-zero code if the project is not found.