Releases the private endpoint for an ApsaraDB for Redis instance.

This topic describes how to connect to a cluster instance of ApsaraDB for Redis through a direct connection. By default, cluster instances can be connected only through a proxy server. If you want to bypass the proxy server, you can apply for a private endpoint to enable direct connections to a cluster instance. This reduces the number of connections and improves service performance. For more information, see Enable a direct connection.


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 No ReleaseDirectConnection

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

InstanceId String Yes r-bp********

The ID of the instance.

RegionId String No cn-hangzhou

The ID of the region to which the instance belongs.

Response parameters

Parameter Type Example Description
RequestId String FC77D4E1-2A7C-4F0B-A4CC-CE0B9C314B9B

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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