All Products
Search
Document Center

PolarDB:Modify or delete an endpoint

Last Updated:Mar 28, 2026

PolarDB clusters provide private and public endpoints for database connections. This topic describes how to modify or delete an endpoint in the PolarDB console.

Prerequisites

Before you begin, ensure that you have:

  • A PolarDB for PostgreSQL cluster (centralized or distributed)

  • Access to the PolarDB console

Modify an endpoint

The steps differ depending on whether your cluster is a centralized cluster (Enterprise Edition or Standard Edition) or a distributed cluster.

Important

If SSL is enabled for the endpoint, the cluster restarts after the modification completes.

Centralized cluster

  1. Log on to the PolarDB console. In the left-side navigation pane, click Clusters. In the upper-left corner of the page, select the region where the cluster resides, then click the cluster ID to go to the Basic Information page.

  2. In the Database Connection section, find the endpoint and choose image > Edit to the right of Private or Public to modify the endpoint.

    image

Endpoint requirements:

RequirementDetails
Prefix length6–40 characters
Allowed charactersLowercase letters, digits, and hyphens (-)
Start characterLowercase letter
End characterDigit or letter
Port number1000–5999
SSL enabled (max length)Total endpoint length cannot exceed 64 characters

Distributed cluster

  1. Log on to the PolarDB console. In the left-side navigation pane, click Clusters. In the upper-left corner of the page, select the region where the cluster resides, then click the cluster ID to go to the Basic Information page.

  2. In the Database Connection section, find the endpoint and click image to the right of Private or Public to modify the endpoint.

    image

  3. In the dialog box, specify a prefix for the endpoint and click OK.

The prefix must be 6–40 characters, contain only lowercase letters, digits, and hyphens (-), start with a lowercase letter, and end with a digit or letter. The port must be in the range 1000–5999.

Delete an endpoint

Warning

Only public endpoints can be deleted. You cannot delete the public endpoint of a PolarDB for PostgreSQL distributed cluster. Before deleting an endpoint, make sure your application connects to the cluster through a different endpoint. Deleted endpoints cannot be restored. To obtain a new endpoint, click Apply next to the required endpoint type in the console.

The default cluster endpoint can be modified but not deleted. Only custom cluster endpoints can be deleted.
  1. Log on to the PolarDB console. In the left-side navigation pane, click Clusters. In the upper-left corner of the page, select the region where the cluster resides, then click the cluster ID to go to the Basic Information page.

  2. In the Database Connection section, find the endpoint and choose image > Release to the right of Public to delete the endpoint.

    image

API reference

OperationDescription
DescribeDBClusterEndpointsQueries the endpoints of a PolarDB cluster.
CreateDBEndpointAddressCreates a public endpoint for a PolarDB cluster.
ModifyDBEndpointAddressModifies the default endpoint of a PolarDB cluster.
DeleteDBEndpointAddressDeletes a cluster endpoint of a PolarDB cluster.