Deletes the public endpoint of a specified PolarDB cluster. The public endpoint can be the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DeleteDBEndpointAddress |
The operation that you want to perform. Set the value to DeleteDBEndpointAddress. |
DBClusterId | String | Yes | pc-************ |
The ID of the PolarDB cluster. |
DBEndpointId | String | Yes | pe-*************** |
The ID of the endpoint. Note You can call the DescribeDBClusterEndpoints operation to query the endpoints IDs of a specified cluster.
|
NetType | String | Yes | Public |
The type of the network for the endpoint. Set the value to Public. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | D0CEC6AC-7760-409A-A0D5-E6CD86****** |
The ID of the request. |
Examples
Sample requests
http(s)://polardb.aliyuncs.com/? Action=DeleteDBEndpointAddress
&DBClusterId=pc-************
&DBEndpointId=pe-***************
&NetType=Public
&<Common request parameters>
Sample success responses
XML
format
<DeleteDBEndpointAddressResponse>
<RequestId>D0CEC6AC-7760-409A-A0D5-E6CD86******</RequestId>
</DeleteDBEndpointAddressResponse>
JSON
format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"
}
Error codes
For a list of error codes, visit the API Error Center.