Skip to content

Deployment

deployment_cloud_sql_database_detach

Detach a managed Postgres database from a service; removes the injected connection secrets.

Tool

deployment_cloud_sql_database_detach

Detach a managed Postgres database from a service; removes the injected connection secrets.

Detach a managed Postgres database from a service; removes the injected connection secrets. Does not delete the database.

Behavior

HTTP
POST /deployment/cloud-sql/databases/detach

Arguments

NameTypeRequiredDescription
attachmentIdstringNo description in the catalog.

Try it

Detach a managed Postgres database from a service; removes the injected connection secrets.

When to use

Detach a managed Postgres database from a service; removes the injected connection secrets. Does not delete the database.

Example

Ask your agent something like this:

Detach a managed Postgres database from a service; removes the injected connection secrets.

The agent will invoke deployment_cloud_sql_database_detach with these arguments:

{
  "attachmentId": "<attachmentId>"
}

Esc

Start typing to search the docs.

navigateselect