All Products
Search
Document Center

PolarDB:Modify or delete an endpoint

Last Updated:May 12, 2025

To connect to a PolarDB cluster, you must specify its endpoint. PolarDB provides private and public endpoints. This topic describes how to modify and delete a PolarDB endpoint in the PolarDB console.

Modify an endpoint

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

  2. In the Database Connections section of the Basic Information page, find the endpoint that you want to modify, and click image > Edit to the right of the private or public endpoint.

    image

    Important
    • The prefix of an endpoint must meet the following requirements:

      • It must be 6 to 40 characters in length and can contain lowercase letters, digits, and hyphens (-).

      • It must start with a letter and end with a digit or a letter.

    • Modifing an SSL-enabled endpoint causes a restart of the cluster.

    • When you modify an SSL-enabled endpoint, make sure the total length of the new endpoint does not exceed 64 characters.

Delete an endpoint

Warning
  • You can delete only Public endpoints.

  • Before you delete an endpoint, make sure that your application is connected to the cluster by using another endpoint.

  • After an endpoint is deleted, it cannot be recovered. You can only apply for a new one.

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

  2. In the Database Connections section of the Basic Information page, find the endpoint that you want to modify, and click image > Release to the right of the private or public endpoint.

    image

Related API operations

Operation

Description

ModifyDBEndpointAddress

Modifies the endpoints of a PolarDB cluster. You can modify the primary endpoint, default cluster endpoint, custom cluster endpoint, or private domain name of the cluster.

DeleteDBEndpointAddress

Deletes the public endpoint of a cluster.