You can call this operation to release the internal endpoint of the shard or Configserver node of a sharded cluster instance.

This operation is only applicable to sharded cluster instances. For more information, see Release endpoints of shard or Configserver nodes.

Note This operation releases the internal endpoint of the node. If you have also applied for a public endpoint for the node and want to release it, you can call the ReleasePublicNetworkAddress operation to release the public endpoint.

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
DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the sharded cluster instance.

NodeId String Yes d-bpxxxxxxxx

The ID of the shard or Configserver node.

Note You can call the DescribeDBInstanceAttribute operation to query the ID of the shard or Configserver node.
NetworkType String Yes VPC

The network type of the internal endpoint. Valid values:

  • VPC
  • Classic
Note You can call the Describeshardingendpoint address operation to query the network type of the internal endpoint.
Action String No ReleaseNodePrivateNetworkAddress

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

AccessKeyId String No LTAIgbTGpxxxxxx

The AccessKey ID provided to you by Alibaba Cloud.

Response parameters

Parameter Type Example Description
RequestId String 0FDDC511-7252-4A4A-ADDA-5CB1BF63873D

The ID of the request.

Examples

Sample requests


http(s)://mongodb.aliyuncs.com/? Action=ReleaseNodePrivateNetworkAddress
&DBInstanceId=dds-bpxxxxxxxx
&NodeId=d-bpxxxxxxxx
&NetworkType=VPC
&<Common request parameters>

Sample success responses

XML format

<ReleaseNodePrivateNetworkAddressResponse>
	  <RequestId>EFD65226-08CC-4C4D-B6A4-CB3C382F67B0</RequestId>
</ReleaseNodePrivateNetworkAddressResponse>

JSON format

{
	"RequestId":"0FDDC511-7252-4A4A-ADDA-5CB1BF63873D"
}

Error codes

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