Fly.io
Postgres Clusters

Delete Postgres Cluster

View as Markdown

Delete a Managed Postgres cluster. The cluster is marked for deletion and removed asynchronously.

DELETE
/v1/postgres/{postgres_cluster_id}

Delete a Managed Postgres cluster. The cluster is marked for deletion and removed asynchronously.

Authorization

bearerAuth
AuthorizationBearer <token>

A Fly.io access token. Create one with fly tokens create.

In: header

Path Parameters

postgres_cluster_id*string

Managed Postgres Cluster ID

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/postgres/string"
Empty
{  "error": "string"}
{  "error": "string"}