Update the PostgreSQL private endpoint
Changed onThis endpoint is in beta. API contract is stable, and no breaking changes are expected in the future. <br /><br /> 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. Available on the Scale and Enterprise plans; Basic organizations get a 403.
Request
- Base URLhttps://api.clickhouse.cloud
- AuthHTTP basic
Path parameters
ID of the organization that owns the Postgres service.
ID of the Postgres service.
Request body
Full replacement of the approved VPC endpoints: endpoints not listed are no longer allowed to connect. Each endpoint ID must be unique.
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 request
{
"allowedVpcEndpoints": [
{
"vpcEndpointId": "vpce-0123456789abcdef0",
"description": "Production VPC"
}
],
"supportedRegions": [
"us-west-2"
]
}Response
Successful response
HTTP status code.
Unique id assigned to every request. UUIDv4
Example response
{
"status": 200,
"result": {
"state": "available",
"endpointServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-0123456789abcdef0",
"endpointServiceId": "vpce-svc-0123456789abcdef0",
"ipAddressType": "dual",
"ports": [
{
"port": 5432,
"targetPort": 5432
}
],
"supportedRegions": [
"us-west-2"
],
"allowedVpcEndpoints": [
{
"vpcEndpointId": "vpce-0123456789abcdef0",
"description": "Production VPC"
}
]
}
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
removed the required property
result/idfrom the response with the status
- breaking