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.

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 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****.redis.rds.aliyuncs.com

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.

Examples

Sample requests

https://r-kvstore.aliyuncs.com/?Action=ReleaseInstancePublicConnection
&InstanceId=r-bp1zxszhcgatnx****
&CurrentConnectionString=r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com
&<Common request parameters>

Sample success responses

XML format

<ReleaseInstancePublicConnectionResponse>
    <RequestId>88F850B5-CC68-48B4-83CA-5497C3C191DE</RequestId>
</ReleaseInstancePublicConnectionResponse>

JSON format

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

Error codes

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