Delete a database

databases & regions

// what it does

Permanently deletes a database with all its branches, data, and backups. Interactive mode makes you type the database name to confirm — a deliberate speed bump.

// shell

$ pscale database delete mydb
$ pscale database delete scratch-db --force

// gotcha

--force skips the confirmation, and there is no undo or grace period. Reserve it for scripted teardown of throwaway test databases, never in anything that could see a production name in a variable.

// resources