Skip to main content
Permanently deletes a database. The database ID is optional: the CLI resolves it from the argument, then falls back to an interactive picker. This is destructive: it asks for y/N confirmation before deleting. Pass -y/--yes to skip the prompt.
squarecloud db delete
# Uses an interactive picker to choose the database, then asks for confirmation.
squarecloud db delete <dbID>
# Deletes a specific database after confirmation.
squarecloud db delete <dbID> -y
# Deletes without asking for confirmation.
Use squarecloud db delete --help for more information about this command.