메인 콘텐츠로 건너뛰기
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.

인증

Authorization
string
header
필수

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

경로 매개변수

organizationId
string<uuid>
필수

ID of the organization that owns the Postgres service.

postgresId
string<uuid>
필수

ID of the requested Postgres service.

본문

application/json
name
string
필수

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

Required string length: 1 - 50
restoreTarget
string<date-time>
필수

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

예시:

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

pgConfig
Postgres Configuration · object

Postgres runtime configuration configuration.

예시:
pgBouncerConfig
PgBouncer Configuration · object

PgBouncer runtime configuration configuration.

예시:
tags
Postgres Tags · object[]

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

Maximum array length: 50

응답

Successful response

status
number

HTTP status code.

예시:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object