You can call this operation to release the public IP address of a MongoDB instance.

Debugging

OpenAPI Explorer simplifies API usage. You can use OpenAPI Explorer to perform debugging operations, such as retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Name Type Required Example Description
DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

Note If you specify this parameter to the ID of a sharded cluster instance, you must also specify the NodeId parameter.
Action String No ReleasePublicNetworkAddress

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

NodeId String No s-bpxxxxxxxx

The ID of the Mongos, Shard, or config server in the specified sharded cluster instance.

Note
  • This parameter is only valid when you specify the DBInstanceId parameter to the ID of a sharded cluster instance.
  • You can callDescribeDBInstanceAttribute to query the IDs of Mongos, Shard, and ConfigServer nodes.
AccessKeyId String No LTAIgbTGpxxxxxx

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

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-bpxxxxxxxx
&s-bpxxxxxxxx
&<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.