You can call this operation to release the public endpoint for an ApsaraDB for PolarDB cluster. The public endpoint can be a primary endpoint, the default cluster endpoint, or a custom cluster endpoint.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
DBClusterId String Yes pc-xxxxxxxxxx

The ID of the cluster.

DBEndpointId String Yes pe-xxxxxxxx

The ID of the endpoint. Example: pe-xxxxxxxx.

Note You can use the DescribeDBClusterEndpoints operation to query the endpoint ID.
NetType String Yes Public

The network type of the endpoint. Valid value: Public.

AccessKeyId String No key-test

The AccessKey ID provided to you by Alibaba Cloud.

Action String No DeleteDBEndpointAddress

The operation that you want to perform. Set the value to DeleteDBEndpointAddress.

Response parameters

Parameter Type Example Description
RequestId String D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DeleteDBEndpointAddress
&DBClusterId=pc-xxxxxxxxxx
&DBEndpointId=pe-xxxxxxxx
&NetType=Public
&<Common request parameters>

Sample success responses

XML format

<DeleteDBEndpointAddressResponse>  
      <RequestId>D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC</RequestId>
</DeleteDBEndpointAddressResponse>

JSON format

{
	"RequestId":"D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC"
}

Error codes

For a list of error codes, visit the API Error Center.