- Reference >
- JavaScript Methods >
- sh.removeShardTag()
sh.removeShardTag()¶
-
sh.removeShardTag(shard, tag)¶ New in version 2.2.
Parameters: - shard (string) – Specifies the name of the shard that you want to remove a tag from.
- tag (string) – Specifies the name of the tag that you want to remove from the shard.
Removes the association between a tag and a shard.
Always issue
sh.removeShardTag()when connected to amongosinstance.See also