For updates, the replication_slots array is optional. If provided, it must contain a single replication slot object. If you include a replication slot, it must have an id field to identify which slot to update.
string
A name for this database connection. You can use this name to identify the database across the API.
string
The full connection URL for the database, e.g. postgresql://postgres:secret-password@db.example.com:5432/postgres.Pass in either this parameter or database, hostname, port, username, password.To specify SSL, use the separate ssl field.
string
The database server hostname.
string
The name of the logical database in Postgres.
string
The database username.
string
The database password.
integer
The database server port.
boolean
Whether to use SSL for the connection.
boolean
Whether to use IPv6 for the connection.
object
Connection details for the primary database, only needed when connecting to a replica.
Show primary properties
string
required
The primary database server hostname.
string
required
The name of the logical database in the primary Postgres instance.
string
required
The primary database username.
string
required
The primary database password.
integer
The primary database server port. Defaults to 5432.
boolean
Whether to use SSL for the primary connection. Defaults to true.
object
Optional metadata as key-value pairs.
array
Hide properties
string
required
The ID of the replication slot to update.
string
The name of the publication to use for this replication slot.
string
The name of the replication slot.
string
The replication slot status. Possible values: “active”, “disabled”.
Response
Show properties
string (uuid)
The ID of the database connection.
string
The user-defined name for the database connection.
string
The hostname of the database server.
integer
The port number for the database connection.
string
The name of the logical Postgres database to connect to.
string
The username for authenticating with the database.
string
The password for authenticating with the database. This will be obfuscated unless show_sensitive=true is used.
boolean
Indicates whether SSL is enabled for the connection.
boolean
Indicates whether the hostname resolves to an IPv6 address.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sequin","colors":{"primary":"#7855FF","light":"#F5F5F5","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com/sequinstream/I2Yx_f_pmUFGglUP/logo/light.png?fit=max\u0026auto=format\u0026n=I2Yx_f_pmUFGglUP\u0026q=85\u0026s=95c3f0fb08a9c4b89ad71a91e83d535f","dark":"https://mintcdn.com/sequinstream/I2Yx_f_pmUFGglUP/logo/dark.png?fit=max\u0026auto=format\u0026n=I2Yx_f_pmUFGglUP\u0026q=85\u0026s=3bb2df88d7dfae6bccbd2f495ed88271","href":"https://sequinstream.com"},"favicon":"/favicon.png","api":{"mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://api.sequinstream.com/api/"}},"navbar":{"links":[{"href":"https://discord.gg/BV8wFXvNtY","label":"Discord"},{"href":"https://join.slack.com/t/sequin-community/shared_invite/zt-37begzach-4aUwR5xt_XgivdvctZDemA","label":"Slack"}],"primary":{"type":"github","href":"https://github.com/sequinstream/sequin"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/sequinstream","x":"https://x.com/sequinstream","youtube":"https://www.youtube.com/@SequinStream","discord":"https://discord.gg/BV8wFXvNtY","slack":"https://join.slack.com/t/sequin-community/shared_invite/zt-37begzach-4aUwR5xt_XgivdvctZDemA"},"links":[{"header":"Developers","items":[{"label":"Changelog","href":"https://github.com/sequinstream/sequin/blob/main/CHANGELOG.md"},{"label":"Open Source (MIT)","href":"https://github.com/sequinstream/sequin?tab=MIT-1-ov-file"},{"label":"GitHub","href":"https://github.com/sequinstream/sequin"},{"label":"Contributing","href":"https://github.com/sequinstream/sequin/blob/main/CONTRIBUTING.md"}]},{"header":"Product","items":[{"label":"Pricing","href":"https://sequinstream.com/"},{"label":"Features","href":"https://sequinstream.com/"},{"label":"Compare Sequin","href":"https://sequinstream.com/docs/compare"}]},{"header":"Company","items":[{"label":"Blog","href":"https://blog.sequinstream.com/"},{"label":"Careers","href":"https://sequin.notion.site/"},{"label":"Contact","href":"mailto:support@sequinstream.com"}]}]},"integrations":{"koala":{"publicApiKey":"pk_ec2e6140b3d56f5eb1735350eb20e92b8002"},"posthog":{"apiKey":"phc_TZn6p4BG38FxUXrH8IvmG39TEHvqdO2kXGoqrSwN8IY"}},"contextual":{"options":["chatgpt","claude","copy"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sequinstream","hasAudioNarration":false,"actualSubdomain":"sequinstream","customDomains":["sequinstream.com"],"gitSource":{"type":"github","owner":"sequinstream","repo":"sequin","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false,"edits":true,"issues":true},"entitlements":{},"buildId":"6ae92150f2d1fb3a80be2cf1:success","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"Documentation","count":96},{"language":"default","tag":"Reference","count":34},{"language":"default","tag":"API Reference","count":25},{"language":"default","tag":"Management API","count":25},{"language":"default","tag":"Get started","count":23},{"language":"default","tag":"Sinks","count":20},{"language":"default","tag":"Quickstarts","count":17},{"language":"default","tag":"Sink setup guides","count":16},{"language":"default","tag":"How-to guides","count":10},{"language":"default","tag":"Postgres databases","count":7}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"management-api/postgres_databases/update","slug":"/management-api/postgres_databases/update","pageMetadata":{"title":"Update database","api":"PUT /api/postgres_databases/{id_or_name}","description":"Update an existing Postgres database connection and optionally its replication slot.","href":"/management-api/postgres_databases/update","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update an existing Postgres database connection and optionally its replication slot.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`id_or_name`,type:`string`,required:true,id:`param-id-or-name`,children:_jsx(_components.p,{children:`The database ID or name to update`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request body`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`For updates, the `,_jsx(_components.code,{children:`replication_slots`}),` array is optional. If provided, it must contain a single replication slot object. If you include a replication slot, it must have an `,_jsx(_components.code,{children:`id`}),` field to identify which slot to update.`]})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`A name for this database connection. You can use this name to identify the database across the API.`})}),`\n`,_jsxs(ParamField,{body:`url`,type:`string`,id:`param-url`,children:[_jsxs(_components.p,{children:[`The full connection URL for the database, e.g. `,_jsx(_components.code,{children:`postgresql://postgres:secret-password@db.example.com:5432/postgres`}),`.`]}),_jsxs(_components.p,{children:[`Pass in either this parameter or `,_jsx(_components.code,{children:`database`}),`, `,_jsx(_components.code,{children:`hostname`}),`, `,_jsx(_components.code,{children:`port`}),`, `,_jsx(_components.code,{children:`username`}),`, `,_jsx(_components.code,{children:`password`}),`.`]}),_jsxs(_components.p,{children:[`To specify SSL, use the separate `,_jsx(_components.code,{children:`ssl`}),` field.`]})]}),`\n`,_jsx(ParamField,{body:`hostname`,type:`string`,id:`param-hostname`,children:_jsx(_components.p,{children:`The database server hostname.`})}),`\n`,_jsx(ParamField,{body:`database`,type:`string`,id:`param-database`,children:_jsx(_components.p,{children:`The name of the logical database in Postgres.`})}),`\n`,_jsx(ParamField,{body:`username`,type:`string`,id:`param-username`,children:_jsx(_components.p,{children:`The database username.`})}),`\n`,_jsx(ParamField,{body:`password`,type:`string`,id:`param-password`,children:_jsx(_components.p,{children:`The database password.`})}),`\n`,_jsx(ParamField,{body:`port`,type:`integer`,id:`param-port`,children:_jsx(_components.p,{children:`The database server port.`})}),`\n`,_jsx(ParamField,{body:`ssl`,type:`boolean`,id:`param-ssl`,children:_jsx(_components.p,{children:`Whether to use SSL for the connection.`})}),`\n`,_jsx(ParamField,{body:`ipv6`,type:`boolean`,id:`param-ipv6`,children:_jsx(_components.p,{children:`Whether to use IPv6 for the connection.`})}),`\n`,_jsxs(ParamField,{body:`primary`,type:`object`,id:`param-primary`,children:[_jsx(_components.p,{children:`Connection details for the primary database, only needed when connecting to a replica.`}),_jsxs(Expandable,{title:`primary properties`,children:[_jsx(ParamField,{body:`hostname`,type:`string`,required:true,id:`param-hostname-1`,children:_jsx(_components.p,{children:`The primary database server hostname.`})}),_jsx(ParamField,{body:`database`,type:`string`,required:true,id:`param-database-1`,children:_jsx(_components.p,{children:`The name of the logical database in the primary Postgres instance.`})}),_jsx(ParamField,{body:`username`,type:`string`,required:true,id:`param-username-1`,children:_jsx(_components.p,{children:`The primary database username.`})}),_jsx(ParamField,{body:`password`,type:`string`,required:true,id:`param-password-1`,children:_jsx(_components.p,{children:`The primary database password.`})}),_jsx(ParamField,{body:`port`,type:`integer`,id:`param-port-1`,children:_jsxs(_components.p,{children:[`The primary database server port. Defaults to `,_jsx(_components.code,{children:`5432`}),`.`]})}),_jsx(ParamField,{body:`ssl`,type:`boolean`,id:`param-ssl-1`,children:_jsxs(_components.p,{children:[`Whether to use SSL for the primary connection. Defaults to `,_jsx(_components.code,{children:`true`}),`.`]})})]})]}),`\n`,_jsx(ParamField,{body:`annotations`,type:`object`,id:`param-annotations`,children:_jsx(_components.p,{children:`Optional metadata as key-value pairs.`})}),`\n`,_jsx(ParamField,{body:`replication_slots`,type:`array`,id:`param-replication-slots`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the replication slot to update.`})}),_jsx(ParamField,{body:`publication_name`,type:`string`,id:`param-publication-name`,children:_jsx(_components.p,{children:`The name of the publication to use for this replication slot.`})}),_jsx(ParamField,{body:`slot_name`,type:`string`,id:`param-slot-name`,children:_jsx(_components.p,{children:`The name of the replication slot.`})}),_jsx(ParamField,{body:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`The replication slot status. Possible values: “active”, “disabled”.`})})]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(Expandable,{title:`properties`,defaultOpen:false,children:[_jsx(ResponseField,{name:`id`,type:`string (uuid)`,id:`param-id-1`,children:_jsx(_components.p,{children:`The ID of the database connection.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`The user-defined name for the database connection.`})}),_jsx(ResponseField,{name:`hostname`,type:`string`,id:`param-hostname-2`,children:_jsx(_components.p,{children:`The hostname of the database server.`})}),_jsx(ResponseField,{name:`port`,type:`integer`,id:`param-port-2`,children:_jsx(_components.p,{children:`The port number for the database connection.`})}),_jsx(ResponseField,{name:`database`,type:`string`,id:`param-database-2`,children:_jsx(_components.p,{children:`The name of the logical Postgres database to connect to.`})}),_jsx(ResponseField,{name:`username`,type:`string`,id:`param-username-2`,children:_jsx(_components.p,{children:`The username for authenticating with the database.`})}),_jsx(ResponseField,{name:`password`,type:`string`,id:`param-password-2`,children:_jsxs(_components.p,{children:[`The password for authenticating with the database. This will be obfuscated unless `,_jsx(_components.code,{children:`show_sensitive=true`}),` is used.`]})}),_jsx(ResponseField,{name:`ssl`,type:`boolean`,id:`param-ssl-2`,children:_jsx(_components.p,{children:`Indicates whether SSL is enabled for the connection.`})}),_jsx(ResponseField,{name:`ipv6`,type:`boolean`,id:`param-ipv6-1`,children:_jsx(_components.p,{children:`Indicates whether the hostname resolves to an IPv6 address.`})}),_jsx(ResponseField,{name:`use_local_tunnel`,type:`boolean`,id:`param-use-local-tunnel`,children:_jsxs(_components.p,{children:[`Indicates whether this database connection uses the `,_jsx(_components.a,{href:`/reference/cli#tunnel-sequin-cloud-only`,children:`Sequin local tunnel`}),`.`]})}),_jsx(ResponseField,{name:`pool_size`,type:`integer`,id:`param-pool-size`,children:_jsx(_components.p,{children:`Database connection pool size (internal setting).`})}),_jsx(ResponseField,{name:`queue_interval`,type:`integer`,id:`param-queue-interval`,children:_jsx(_components.p,{children:`Database connection pool queue interval (internal setting).`})}),_jsx(ResponseField,{name:`queue_target`,type:`integer`,id:`param-queue-target`,children:_jsx(_components.p,{children:`Database connection pool queue target (internal setting).`})}),_jsxs(ResponseField,{name:`replication_slots`,type:`array`,id:`param-replication-slots-1`,children:[_jsx(_components.p,{children:`Details about the associated replication slot. Will be an empty array if no slot exists.`}),_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`id`,type:`string (uuid)`,id:`param-id-2`,children:_jsx(_components.p,{children:`The ID of the replication slot.`})}),_jsx(ResponseField,{name:`publication_name`,type:`string`,id:`param-publication-name-1`,children:_jsx(_components.p,{children:`The name of the Postgres publication used for replication.`})}),_jsx(ResponseField,{name:`slot_name`,type:`string`,id:`param-slot-name-1`,children:_jsx(_components.p,{children:`The name of the Postgres replication slot.`})}),_jsx(ResponseField,{name:`status`,type:`string (enum: active | disabled)`,id:`param-status-1`,children:_jsx(_components.p,{children:`The current status of the replication slot.`})})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update database","api":"PUT /api/postgres_databases/{id_or_name}","description":"Update an existing Postgres database connection and optionally its replication slot.","href":"/management-api/postgres_databases/update","hidden":false}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`id_or_name`,type:`string`,required:true,id:`param-id-or-name`,children:_jsx(_components.p,{children:`The database ID or name to update`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request body`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`For updates, the `,_jsx(_components.code,{children:`replication_slots`}),` array is optional. If provided, it must contain a single replication slot object. If you include a replication slot, it must have an `,_jsx(_components.code,{children:`id`}),` field to identify which slot to update.`]})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`A name for this database connection. You can use this name to identify the database across the API.`})}),`\n`,_jsxs(ParamField,{body:`url`,type:`string`,id:`param-url`,children:[_jsxs(_components.p,{children:[`The full connection URL for the database, e.g. `,_jsx(_components.code,{children:`postgresql://postgres:secret-password@db.example.com:5432/postgres`}),`.`]}),_jsxs(_components.p,{children:[`Pass in either this parameter or `,_jsx(_components.code,{children:`database`}),`, `,_jsx(_components.code,{children:`hostname`}),`, `,_jsx(_components.code,{children:`port`}),`, `,_jsx(_components.code,{children:`username`}),`, `,_jsx(_components.code,{children:`password`}),`.`]}),_jsxs(_components.p,{children:[`To specify SSL, use the separate `,_jsx(_components.code,{children:`ssl`}),` field.`]})]}),`\n`,_jsx(ParamField,{body:`hostname`,type:`string`,id:`param-hostname`,children:_jsx(_components.p,{children:`The database server hostname.`})}),`\n`,_jsx(ParamField,{body:`database`,type:`string`,id:`param-database`,children:_jsx(_components.p,{children:`The name of the logical database in Postgres.`})}),`\n`,_jsx(ParamField,{body:`username`,type:`string`,id:`param-username`,children:_jsx(_components.p,{children:`The database username.`})}),`\n`,_jsx(ParamField,{body:`password`,type:`string`,id:`param-password`,children:_jsx(_components.p,{children:`The database password.`})}),`\n`,_jsx(ParamField,{body:`port`,type:`integer`,id:`param-port`,children:_jsx(_components.p,{children:`The database server port.`})}),`\n`,_jsx(ParamField,{body:`ssl`,type:`boolean`,id:`param-ssl`,children:_jsx(_components.p,{children:`Whether to use SSL for the connection.`})}),`\n`,_jsx(ParamField,{body:`ipv6`,type:`boolean`,id:`param-ipv6`,children:_jsx(_components.p,{children:`Whether to use IPv6 for the connection.`})}),`\n`,_jsxs(ParamField,{body:`primary`,type:`object`,id:`param-primary`,children:[_jsx(_components.p,{children:`Connection details for the primary database, only needed when connecting to a replica.`}),_jsxs(Expandable,{title:`primary properties`,children:[_jsx(ParamField,{body:`hostname`,type:`string`,required:true,id:`param-hostname-1`,children:_jsx(_components.p,{children:`The primary database server hostname.`})}),_jsx(ParamField,{body:`database`,type:`string`,required:true,id:`param-database-1`,children:_jsx(_components.p,{children:`The name of the logical database in the primary Postgres instance.`})}),_jsx(ParamField,{body:`username`,type:`string`,required:true,id:`param-username-1`,children:_jsx(_components.p,{children:`The primary database username.`})}),_jsx(ParamField,{body:`password`,type:`string`,required:true,id:`param-password-1`,children:_jsx(_components.p,{children:`The primary database password.`})}),_jsx(ParamField,{body:`port`,type:`integer`,id:`param-port-1`,children:_jsxs(_components.p,{children:[`The primary database server port. Defaults to `,_jsx(_components.code,{children:`5432`}),`.`]})}),_jsx(ParamField,{body:`ssl`,type:`boolean`,id:`param-ssl-1`,children:_jsxs(_components.p,{children:[`Whether to use SSL for the primary connection. Defaults to `,_jsx(_components.code,{children:`true`}),`.`]})})]})]}),`\n`,_jsx(ParamField,{body:`annotations`,type:`object`,id:`param-annotations`,children:_jsx(_components.p,{children:`Optional metadata as key-value pairs.`})}),`\n`,_jsx(ParamField,{body:`replication_slots`,type:`array`,id:`param-replication-slots`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the replication slot to update.`})}),_jsx(ParamField,{body:`publication_name`,type:`string`,id:`param-publication-name`,children:_jsx(_components.p,{children:`The name of the publication to use for this replication slot.`})}),_jsx(ParamField,{body:`slot_name`,type:`string`,id:`param-slot-name`,children:_jsx(_components.p,{children:`The name of the replication slot.`})}),_jsx(ParamField,{body:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`The replication slot status. Possible values: “active”, “disabled”.`})})]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(Expandable,{title:`properties`,defaultOpen:false,children:[_jsx(ResponseField,{name:`id`,type:`string (uuid)`,id:`param-id-1`,children:_jsx(_components.p,{children:`The ID of the database connection.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`The user-defined name for the database connection.`})}),_jsx(ResponseField,{name:`hostname`,type:`string`,id:`param-hostname-2`,children:_jsx(_components.p,{children:`The hostname of the database server.`})}),_jsx(ResponseField,{name:`port`,type:`integer`,id:`param-port-2`,children:_jsx(_components.p,{children:`The port number for the database connection.`})}),_jsx(ResponseField,{name:`database`,type:`string`,id:`param-database-2`,children:_jsx(_components.p,{children:`The name of the logical Postgres database to connect to.`})}),_jsx(ResponseField,{name:`username`,type:`string`,id:`param-username-2`,children:_jsx(_components.p,{children:`The username for authenticating with the database.`})}),_jsx(ResponseField,{name:`password`,type:`string`,id:`param-password-2`,children:_jsxs(_components.p,{children:[`The password for authenticating with the database. This will be obfuscated unless `,_jsx(_components.code,{children:`show_sensitive=true`}),` is used.`]})}),_jsx(ResponseField,{name:`ssl`,type:`boolean`,id:`param-ssl-2`,children:_jsx(_components.p,{children:`Indicates whether SSL is enabled for the connection.`})}),_jsx(ResponseField,{name:`ipv6`,type:`boolean`,id:`param-ipv6-1`,children:_jsx(_components.p,{children:`Indicates whether the hostname resolves to an IPv6 address.`})}),_jsx(ResponseField,{name:`use_local_tunnel`,type:`boolean`,id:`param-use-local-tunnel`,children:_jsxs(_components.p,{children:[`Indicates whether this database connection uses the `,_jsx(_components.a,{href:`/reference/cli#tunnel-sequin-cloud-only`,children:`Sequin local tunnel`}),`.`]})}),_jsx(ResponseField,{name:`pool_size`,type:`integer`,id:`param-pool-size`,children:_jsx(_components.p,{children:`Database connection pool size (internal setting).`})}),_jsx(ResponseField,{name:`queue_interval`,type:`integer`,id:`param-queue-interval`,children:_jsx(_components.p,{children:`Database connection pool queue interval (internal setting).`})}),_jsx(ResponseField,{name:`queue_target`,type:`integer`,id:`param-queue-target`,children:_jsx(_components.p,{children:`Database connection pool queue target (internal setting).`})}),_jsxs(ResponseField,{name:`replication_slots`,type:`array`,id:`param-replication-slots-1`,children:[_jsx(_components.p,{children:`Details about the associated replication slot. Will be an empty array if no slot exists.`}),_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`id`,type:`string (uuid)`,id:`param-id-2`,children:_jsx(_components.p,{children:`The ID of the replication slot.`})}),_jsx(ResponseField,{name:`publication_name`,type:`string`,id:`param-publication-name-1`,children:_jsx(_components.p,{children:`The name of the Postgres publication used for replication.`})}),_jsx(ResponseField,{name:`slot_name`,type:`string`,id:`param-slot-name-1`,children:_jsx(_components.p,{children:`The name of the Postgres replication slot.`})}),_jsx(ResponseField,{name:`status`,type:`string (enum: active | disabled)`,id:`param-status-1`,children:_jsx(_components.p,{children:`The current status of the replication slot.`})})]})]})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Using URL`,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.sequinstream.com/api/postgres_databases/example-db`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"example-db-renamed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"postgresql://postgres:secret-password@new-db.example.com:5432/postgres\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Updating database and replication slot`,numberOfLines:`15`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.sequinstream.com/api/postgres_databases/example-db`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"example-db-renamed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hostname\": \"new-db.example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"replication_slots\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\": \"rs_01HRMW3ZNE5EFGW9SDXW01TT93\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"publication_name\": \"new_sequin_pub\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slot_name\": \"new_sequin_slot\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Using connection params`,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.sequinstream.com/api/postgres_databases/example-db`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"example-db-renamed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hostname\": \"new-db.example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Updating replica connection`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.sequinstream.com/api/postgres_databases/replica-db`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"replica-db-renamed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hostname\": \"new-replica.example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"primary\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hostname\": \"new-primary.example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"db_01HRMW3ZNE5EFGW9SDXW01TT92\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example-db-renamed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hostname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"new-db.example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"database\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"postgres\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"username\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"postgres\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"password\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"************\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"port\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5432`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ssl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"use_local_tunnel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ipv6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"replication_slots\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rs_01HRMW3ZNE5EFGW9SDXW01TT93\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"publication_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"new_sequin_pub\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slot_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"new_sequin_slot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update database","api":"PUT /api/postgres_databases/{id_or_name}","description":"Update an existing Postgres database connection and optionally its replication slot.","href":"/management-api/postgres_databases/update","hidden":false}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Request body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Using URL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.sequinstream.com/api/postgres_databases/example-db\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"example-db-renamed\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"url\": \"postgresql://postgres:secret-password@new-db.example.com:5432/postgres\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Updating database and replication slot","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.sequinstream.com/api/postgres_databases/example-db\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"example-db-renamed\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"hostname\": \"new-db.example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"replication_slots\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"id\": \"rs_01HRMW3ZNE5EFGW9SDXW01TT93\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"publication_name\": \"new_sequin_pub\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"slot_name\": \"new_sequin_slot\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Using connection params","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.sequinstream.com/api/postgres_databases/example-db\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"example-db-renamed\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"hostname\": \"new-db.example.com\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Updating replica connection","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.sequinstream.com/api/postgres_databases/replica-db\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"replica-db-renamed\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"hostname\": \"new-replica.example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"primary\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"hostname\": \"new-primary.example.com\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"db_01HRMW3ZNE5EFGW9SDXW01TT92\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example-db-renamed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hostname\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"new-db.example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"database\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"postgres\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"username\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"postgres\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"password\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"************\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"port\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">5432\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ssl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"use_local_tunnel\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ipv6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"replication_slots\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"rs_01HRMW3ZNE5EFGW9SDXW01TT93\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"publication_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"new_sequin_pub\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"slot_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"new_sequin_slot\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update database","path":"/api/postgres_databases/{id_or_name}","servers":[{"url":"https://api.sequinstream.com/api/"}],"method":"put","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id_or_name":{"schema":[{"type":"string","description":"The database ID or name to update","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"A name for this database connection. You can use this name to identify the database across the API."}],"url":[{"type":"string","description":"The full connection URL for the database, e.g. `postgresql://postgres:secret-password@db.example.com:5432/postgres` . Pass in either this parameter or `database` , `hostname` , `port` , `username` , `password` . To specify SSL, use the separate `ssl` field."}],"hostname":[{"type":"string","description":"The database server hostname."}],"database":[{"type":"string","description":"The name of the logical database in Postgres."}],"username":[{"type":"string","description":"The database username."}],"password":[{"type":"string","description":"The database password."}],"port":[{"type":"integer","description":"The database server port."}],"ssl":[{"type":"boolean","description":"Whether to use SSL for the connection."}],"ipv6":[{"type":"boolean","description":"Whether to use IPv6 for the connection."}],"primary":[{"type":"object","properties":{"hostname":[{"type":"string","description":"The primary database server hostname.","required":true}],"database":[{"type":"string","description":"The name of the logical database in the primary Postgres instance.","required":true}],"username":[{"type":"string","description":"The primary database username.","required":true}],"password":[{"type":"string","description":"The primary database password.","required":true}],"port":[{"type":"integer","description":"The primary database server port. Defaults to `5432` ."}],"ssl":[{"type":"boolean","description":"Whether to use SSL for the primary connection. Defaults to `true` ."}]},"description":"Connection details for the primary database, only needed when connecting to a replica."}],"annotations":[{"type":"object","properties":{},"description":"Optional metadata as key-value pairs."}],"replication_slots":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"The ID of the replication slot to update.","required":true}],"publication_name":[{"type":"string","description":"The name of the publication to use for this replication slot."}],"slot_name":[{"type":"string","description":"The name of the replication slot."}],"status":[{"type":"string","description":"The replication slot status. Possible values: “active”, “disabled”."}]}}]}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","url":"\u003cstring>","hostname":"\u003cstring>","database":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","port":123,"ssl":true,"ipv6":true,"primary":{"hostname":"\u003cstring>","database":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","port":123,"ssl":true},"annotations":{},"replication_slots":[{"id":"\u003cstring>","publication_name":"\u003cstring>","slot_name":"\u003cstring>","status":"\u003cstring>"}]}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"sequinstream","siteName":"Sequin","title":"Update database - Sequin","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-11-07T16:29:57.521Z","originalFileLocation":"management-api/postgres_databases/update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an existing Postgres database connection and optionally its replication slot.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sequin\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update database - Sequin\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing Postgres database connection and optionally its replication slot.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sequin\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sequinstream.com/docs/management-api/postgres_databases/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sequinstream.mintlify.site/docs/_mintlify/api/og/v2?division=Postgres+databases\u0026amp;title=Update+database\u0026amp;description=Update+an+existing+Postgres+database+connection+and+optionally+its+replication+slot.\u0026amp;theme=5d38747a3bb7abd263673d5c\u0026amp;signature=4da725ec395960879a4bf2c36e15d71ef91bc8e15dc1f7760c759aea03ebb5a7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update database - Sequin\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing Postgres database connection and optionally its replication slot.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sequinstream.mintlify.site/docs/_mintlify/api/og/v2?division=Postgres+databases\u0026amp;title=Update+database\u0026amp;description=Update+an+existing+Postgres+database+connection+and+optionally+its+replication+slot.\u0026amp;theme=5d38747a3bb7abd263673d5c\u0026amp;signature=4da725ec395960879a4bf2c36e15d71ef91bc8e15dc1f7760c759aea03ebb5a7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/sequinstream/vqDNOJ4XNfAVGEX_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sequin\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7855FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sequinstream.com/docs/management-api/postgres_databases/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/management-api/postgres_databases/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sequinstream.com/#organization\",\"name\":\"Sequin\",\"url\":\"https://sequinstream.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sequinstream/I2Yx_f_pmUFGglUP/logo/light.png?fit=max\u0026auto=format\u0026n=I2Yx_f_pmUFGglUP\u0026q=85\u0026s=95c3f0fb08a9c4b89ad71a91e83d535f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sequinstream.com/docs#website\",\"name\":\"Sequin\",\"url\":\"https://sequinstream.com/docs\",\"publisher\":{\"@id\":\"https://sequinstream.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sequinstream.com/docs/management-api/postgres_databases/update#webpage\",\"url\":\"https://sequinstream.com/docs/management-api/postgres_databases/update\",\"name\":\"Update database\",\"description\":\"Update an existing Postgres database connection and optionally its replication slot.\",\"dateModified\":\"2025-11-07T16:29:57.521Z\",\"isPartOf\":{\"@id\":\"https://sequinstream.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://sequinstream.com/docs/management-api/postgres_databases/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sequinstream.com/docs/management-api/postgres_databases/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Management API\",\"item\":\"https://sequinstream.com/docs/management-api/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Postgres databases\",\"item\":\"https://sequinstream.com/docs/management-api/postgres_databases/list\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update database\",\"item\":\"https://sequinstream.com/docs/management-api/postgres_databases/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sequinstream.com/docs/management-api/postgres_databases/update#apireference\",\"headline\":\"Update database\",\"name\":\"Update database\",\"description\":\"Update an existing Postgres database connection and optionally its replication slot.\",\"url\":\"https://sequinstream.com/docs/management-api/postgres_databases/update\",\"mainEntityOfPage\":{\"@id\":\"https://sequinstream.com/docs/management-api/postgres_databases/update#webpage\"},\"dateModified\":\"2025-11-07T16:29:57.521Z\",\"publisher\":{\"@id\":\"https://sequinstream.com/#organization\"},\"isPartOf\":{\"@id\":\"https://sequinstream.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sequin\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sequin\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/management-api/postgres_databases/update.md","siteName":"Sequin","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Management API","pages":[{"title":"Introduction","icon":"book-open","iconType":"solid","href":"/management-api/introduction","hidden":false},{"title":"Authentication","icon":"key","iconType":"solid","href":"/management-api/authentication","hidden":false},{"group":"Postgres databases","pages":[{"title":"List databases","api":"GET /postgres_databases","href":"/management-api/postgres_databases/list","hidden":false},{"title":"Get database","api":"GET /postgres_databases/{id_or_name}","href":"/management-api/postgres_databases/get","hidden":false},{"title":"Create database","api":"POST /api/postgres_databases","description":"Create a new Postgres database connection with a replication slot.","href":"/management-api/postgres_databases/create","hidden":false},{"title":"Update database","api":"PUT /api/postgres_databases/{id_or_name}","href":"/management-api/postgres_databases/update","hidden":false},{"title":"Delete database","api":"DELETE /api/postgres_databases/{id_or_name}","description":"Delete a Postgres database connection and its associated replication slot.","href":"/management-api/postgres_databases/delete","hidden":false},{"title":"Test connection","api":"POST /postgres_databases/{id_or_name}/test_connection","href":"/management-api/postgres_databases/test-connection","hidden":false},{"title":"Refresh tables","api":"POST /postgres_databases/{id_or_name}/refresh_tables","href":"/management-api/postgres_databases/refresh-tables","hidden":false}]},{"group":"HTTP endpoints","pages":[{"title":"List HTTP endpoints","api":"GET /destinations/http_endpoints","href":"/management-api/http-endpoints/list","hidden":false},{"title":"Get HTTP endpoint","api":"GET /destinations/http_endpoints/{endpoint_id_or_name}","href":"/management-api/http-endpoints/get","hidden":false},{"title":"Create HTTP endpoint","api":"POST /destinations/http_endpoints","href":"/management-api/http-endpoints/create","hidden":false},{"title":"Update HTTP endpoint","api":"PATCH /destinations/http_endpoints/{endpoint_id_or_name}","href":"/management-api/http-endpoints/update","hidden":false},{"title":"Delete HTTP endpoint","api":"DELETE /destinations/http_endpoints/{endpoint_id_or_name}","href":"/management-api/http-endpoints/delete","hidden":false}]},{"group":"Sink consumers","pages":[{"title":"List sink consumers","api":"GET /sinks","href":"/management-api/sink-consumers/list","hidden":false},{"title":"Get sink consumer","api":"GET /sinks/{sink_id_or_name}","href":"/management-api/sink-consumers/get","hidden":false},{"title":"Create sink consumer","api":"POST /sinks","href":"/management-api/sink-consumers/create","hidden":false},{"title":"Update sink consumer","api":"PATCH /sinks/{sink_id_or_name}","href":"/management-api/sink-consumers/update","hidden":false},{"title":"Delete sink consumer","api":"DELETE /sinks/{sink_id_or_name}","href":"/management-api/sink-consumers/delete","hidden":false}]},{"group":"Backfills","pages":[{"title":"List backfills","api":"GET /sinks/{sink_id_or_name}/backfills","href":"/management-api/backfills/list","hidden":false},{"title":"Get backfill","api":"GET /sinks/{sink_id_or_name}/backfills/{backfill_id}","href":"/management-api/backfills/get","hidden":false},{"title":"Create backfill","api":"POST /sinks/{sink_id_or_name}/backfills","href":"/management-api/backfills/create","hidden":false},{"title":"Update backfill","api":"PATCH /sinks/{sink_id_or_name}/backfills/{backfill_id}","href":"/management-api/backfills/update","hidden":false},{"title":"Delete backfill","api":"DELETE /sinks/{sink_id_or_name}/backfills/{backfill_id}","href":"/management-api/backfills/delete","hidden":false}]},{"title":"Errors","icon":"brackets-curly","iconType":"solid","href":"/management-api/errors","hidden":false}]}]}]},"basePath":"","title":"Update database - Sequin","buildId":"dpl_Eok1jboeiLTUE4ccnKdogAktkDhH","deploymentId":"dpl_Eok1jboeiLTUE4ccnKdogAktkDhH","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BO6jLjHP.js","utils-DzK3kjtW.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B_o_sRtB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-w5sf6cTL.js","snippetPresets-C-LqQvlw.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-B86q0r56.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CK4fhXtK.js","shallow-2nSrO3Y1.js","getApiPlaygroundDisplay-iMY8AQYp.js","CodeSnippet-CYrmmkRs.js","CodeSnippets-CpTHX08n.js","Page-B6e_603r.js","getPastedJson-ErXUu_z-.js","icon-DjAwzjTp.js","MethodPill-DWCnd71y.js","DuplicateIcon-CzD5BRfY.js","createIcon-D_pVdVTU.js","DynamicMarkdown-BeNxZ5px.js","SectionHeading-CovuDw0Y.js","axios-vUo_bRtp.js"]}