From 50fe4581908c7d416666bb3685a3002dec4549bd Mon Sep 17 00:00:00 2001 From: "docs-syncer[bot]" <134718678+docs-syncer[bot]@users.noreply.github.com> Date: Thu, 8 Jan 2026 19:06:40 +0000 Subject: [PATCH] [flyctl-bot] Update docs from flyctl --- flyctl/cmd/fly_mpg.md | 1 + flyctl/cmd/fly_mpg_detach.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 flyctl/cmd/fly_mpg_detach.md diff --git a/flyctl/cmd/fly_mpg.md b/flyctl/cmd/fly_mpg.md index b54cca6a9e..75e9086f41 100644 --- a/flyctl/cmd/fly_mpg.md +++ b/flyctl/cmd/fly_mpg.md @@ -13,6 +13,7 @@ fly mpg [command] [flags] * [create](/docs/flyctl/mpg-create/) - Create a new Managed Postgres cluster * [databases](/docs/flyctl/mpg-databases/) - Manage databases in a managed postgres cluster * [destroy](/docs/flyctl/mpg-destroy/) - Destroy a managed Postgres cluster +* [detach](/docs/flyctl/mpg-detach/) - Detach a managed Postgres cluster from an app * [list](/docs/flyctl/mpg-list/) - List MPG clusters. * [proxy](/docs/flyctl/mpg-proxy/) - Proxy to a MPG database * [restore](/docs/flyctl/mpg-restore/) - Restore MPG cluster from backup. diff --git a/flyctl/cmd/fly_mpg_detach.md b/flyctl/cmd/fly_mpg_detach.md new file mode 100644 index 0000000000..6c2fa68851 --- /dev/null +++ b/flyctl/cmd/fly_mpg_detach.md @@ -0,0 +1,28 @@ +Detach a managed Postgres cluster from an app. This command will remove the attachment record linking the app to the cluster. +Note: This does NOT remove any secrets from the app. Use 'fly secrets unset' to remove secrets. + +## Usage +~~~ +fly mpg detach [flags] +~~~ + +## Options + +~~~ + -a, --app string Application name + -c, --config string Path to application configuration file + -h, --help help for detach +~~~ + +## Global Options + +~~~ + -t, --access-token string Fly API Access Token + --debug Print additional logs and traces + --verbose Verbose output +~~~ + +## See Also + +* [fly mpg](/docs/flyctl/mpg/) - Manage Managed Postgres clusters. +