You can call this operation to release a public endpoint of an ApsaraDB for Redis instance.

For more information about how to perform the corresponding operation in the console, see Release public endpoints.


Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
InstanceId String Yes r-bp1xxxxxxxxxxxxx

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

CurrentConnectionString String Yes

The public endpoint to release.

Action String No ReleaseInstancePublicConnection

The operation that you want to perform. Set this parameter to ReleaseInstancePublicConnection.

AccessKeyId String No Lxxxxxxxxxxxxxxw

The AccessKey ID that Alibaba Cloud provides for you to access services.

Response parameters

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

The ID of the request.


Sample request
? Action=ReleaseInstancePublicConnection
&<Common request parameters>

Sample success response

XML format


JSON format


Error codes

For more information, see Error codes.