You can call the DeleteDBProxyEndpointAddress operation to delete the endpoint that is used to connect to the dedicated proxies of an ApsaraDB for RDS instance.

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
Action String Yes DeleteDBProxyEndpointAddress

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

RegionId String Yes cn-hangzhou

The ID of the region to which the instance belongs. You can call the DescribeRegions operation to query the most recent region list.

DBInstanceId String Yes rm-t4n3axxxxx

The ID of the instance.

DBProxyEndpointId String Yes ta9um4xxxxx

The ID of the endpoint that is used to connect to the dedicated proxies of the instance.

DBProxyConnectStringNetType String Yes Public

The network type of the endpoint. Valid values:

  • Public
  • VPC
  • Classic

Default value: Classic.

Note If the RDS instance runs standard or enhanced SSDs and the network type of the endpoint is VPC, you cannot delete the endpoint.

Response parameters

Parameter Type Example Description
RequestId String 343356C6-64B2-4245-ADEB-C9BD165EDD11

The ID of the request.

Examples

Sample requests

http(s)://rds.aliyuncs.com/? Action=DeleteDBProxyEndpointAddress
&RegionId=cn-hangzhou
&DBInstanceId=m-t4n3axxxxx
&DBProxyEndpointId=ta9um4xxxxx
&DBProxyConnectStringNetType=Public
&<Common request parameters>

Sample success responses

XML format

<DeleteDBProxyEndpointAddressResponse>
  <RequestId>343356C6-64B2-4245-ADEB-C9BD165EDD11</RequestId>
</DeleteDBProxyEndpointAddressResponse>

JSON format

{
	"RequestId": "343356C6-64B2-4245-ADEB-C9BD165EDD11"
}

Error codes

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