Releases the public endpoint of an ApsaraDB for RDS instance.

To ensure data security, you can release the public endpoint when you do not need to access the database from the Internet.


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 ReleaseInstancePublicConnection

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

CurrentConnectionString String Yes

The public endpoint.

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID of the instance.

Response parameters

Parameter Type Example Description
RequestId String 65BDA532-28AF-4122-AA39-B382721EEE64

The ID of the request.


Sample requests

http(s):// Action=ReleaseInstancePublicConnection
&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": " 65BDA532-28AF-4122-AA39-B382721EEE64"

Error codes

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