How to delete a database in a Postgres app with flyctl

How can I delete a database that I created in a cluster using the flyctl tool?

Can you clarify the question? By “delete a database”, do you mean deleting data within the cluster, deleting an instance within the cluster, or deleting the cluster itself?

When I run fly pg db list it list the databases for the Fly App (or postgres cluster, not sure what to call). How do I delete one of those? The db command only have a list function.

A Postgres cluster is just a special type of Fly app, so you can use fly apps destroy <APP_NAME> to destroy it.