You can call this operation to release the public endpoint of an ApsaraDB for MongoDB instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ReleasePublicNetworkAddress |
The operation that you want to perform. Set the value to ReleasePublicNetworkAddress. |
DBInstanceId | String | Yes | dds-bp2235**** |
The ID of the instance. Note If you set this parameter to the ID of a sharded cluster instance, you must also specify
the NodeId parameter.
|
NodeId | String | No | s-bp2235**** |
A sharded cluster instance consists of three components: mongos, shard, and Configserver. Note
|
RegionId | String | No | cn-hangzhou |
The region ID of the instance. You can call the DescribeRegions operation to query the region ID of the instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 1D6AFE36-1AF5-4DE4-A954-672159D4CC69 |
The ID of the request. |
Examples
Sample requests
http(s)://mongodb.aliyuncs.com/? Action=ReleasePublicNetworkAddress
&DBInstanceId=dds-bp2235****
&NodeId=s-bp2235****
&<Common request parameters>
Sample success responses
XML
format
<ReleasePublicNetworkAddressResponse>
<RequestId>B6D17591-B48B-4D31-9CD6-9B9796B2270A</RequestId>
</ReleasePublicNetworkAddressResponse>
JSON
format
{
"RequestId": "1D6AFE36-1AF5-4DE4-A954-672159D4CC69"
}
Error codes
For a list of error codes, visit the API Error Center.