Pular para o conteúdo principal
POST
Restore a Postgres service
Restore a Postgres database from continuous backup, optionally at a specific point in time.

Permissions

The API key must have the control-plane:postgres-service:manage, control-plane:organization:create-service permissions.

Autorizações

Authorization
string
header
obrigatório

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

Parâmetros de caminho

organizationId
string<uuid>
obrigatório

ID of the organization that owns the Postgres service.

postgresId
string<uuid>
obrigatório

ID of the requested Postgres service.

Corpo

application/json
name
string
obrigatório

Name of the Postgres service. Alphanumerical string with whitespaces up to 50 characters.

Required string length: 1 - 50
restoreTarget
string<date-time>
obrigatório

The point in time at which to recover, as either date/time, named restore point, or a specific transaction ID.

Exemplo:

"2026-03-31T18:17:37Z"

pgConfig
Postgres Configuration · object

Postgres runtime configuration configuration.

Exemplo:
pgBouncerConfig
PgBouncer Configuration · object

PgBouncer runtime configuration configuration.

Exemplo:
tags
Postgres Tags · object[]

Tags associated with the Postgres service. Tag keys starting with “chc_” are reserved for internal use.

Maximum array length: 50

Resposta

Successful response

status
number

HTTP status code.

Exemplo:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object