/v1/organizations/{organizationId}/postgres/{postgresId}/privateEndpointThis endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
Approves VPC endpoints by ID and sets the supported regions. At least one of allowedVpcEndpoints and supportedRegions is required, and each one provided replaces the existing list in full, so include every entry to keep. 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
Full replacement of the supported regions. 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.