Postgres Clusters
Attach Cluster to App
Changed onRecord an attachment between a cluster and a Fly app. This endpoint records the relationship but does not set DATABASE_URL or other app secrets; configure the connection string separately. The attachment is created if it does not already exist.
post/v1/postgres/{postgres_cluster_id}/attachments
Request
- Base URLhttps://api.machines.dev
- URLhttps://api.machines.dev/v1/postgres/{postgres_cluster_id}/attachments
- AuthHTTP bearer
Path parameters
postgres_cluster_idstring required
Managed Postgres Cluster ID
Request body
Response
Cluster was already attached
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
the endpoint scheme security
FlyBearerAuthwas removed from the API
- info