Releases a public endpoint of an ApsaraDB for Redis instance.

For more information about how to perform the API operation in the ApsaraDB for Redis console, see Release public endpoints.


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.

InstanceId String Yes r-bp1zxszhcgatnx****

The ID of the instance for which you want to release a public endpoint.

CurrentConnectionString String Yes r-bp1zxszhcgatnx****

The public endpoint to be released.

RegionId String No cn-hangzhou

The ID of the region where the instance is deployed.

Response parameters

Parameter Type Example Description
RequestId String 88F850B5-CC68-48B4-83CA-5497C3C191DE

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format

	"RequestId": "88F850B5-CC68-48B4-83CA-5497C3C191DE"

Error codes

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