Releases the public endpoint of a PolarDB-X instance.

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

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

DBInstanceName String Yes pxc-hzjasd****

The name of the instance.

CurrentConnectionString String Yes pxc-hzjasdyuoo.polarx.rds.aliyuncs.com

The connection string in the public endpoint.

RegionId String No cn-hangzhou

The region ID of the instance.

Response parameters

Parameter Type Example Description
RequestId String FEA5DC20-6D8A-5979-97AA-FC57546ADC20

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ReleaseInstancePublicConnection
&ResourceOwnerId=100899
&DBInstanceName=pxc-hzjasd****
&CurrentConnectionString=pxc-hzjasdyuoo.polarx.rds.aliyuncs.com
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ReleaseInstancePublicConnectionResponse>
    <RequestId>FEA5DC20-6D8A-5979-97AA-FC57546ADC20</RequestId>
</ReleaseInstancePublicConnectionResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "FEA5DC20-6D8A-5979-97AA-FC57546ADC20"
}

Error codes

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