When you no longer need to connect to a shard or Configserver node, you can release its connection string.
Precautions
- The connection string of a mongos node cannot be released.
- After the connection string of a shard or Configserver node is released, the connection strings of the primary and secondary nodes are released and you cannot use this connection string to connect to the released node. Proceed with caution.
- This operation releases the internal connection string of the node. If the node also has a public connection string and the connection string is no longer needed, you can Release a public endpoint.