/v1/organizations/{organizationId}/postgres/{postgresId}/privateEndpointThis endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
Creates the AWS private endpoint service of a Postgres service. Creation takes about 5 to 10 minutes: state is creating until the service is available. A VPC endpoint can connect only after its ID is approved with the update endpoint. Returns 409 if the service already has a private endpoint. Private endpoints are available only for AWS Postgres services, and only for organizations with the feature enabled.
Permission
The API key must have the control-plane:postgres-service:manage permission.
Path parameters
Request bodyJSON
- supportedRegionsoptionalarray ofstring
AWS region IDs, other than the service region, from which VPC endpoints can connect, such as
us-west-2. The service region is always supported and must not be listed. Requires cross-region private endpoints to be enabled for the organization.Example: ["us-west-2"]
Response
200
Successful response
400
The request cannot be processed due to a client error. Please verify your request parameters and try again.
500
An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.