In the doc’s link you’ll get that answer.
-
/moveTablet?tablet=name&group=2This endpoint can be used to move a tablet to a group. Zero already does shard rebalancing every 8 mins, this endpoint can be used to force move a tablet. -
/removeNode?id=3&group=2If a replica goes down and can’t be recovered, you can remove it and add a new node to the quorum. This endpoint can be used to remove a dead Zero or Dgraph server node. To remove dead Zero nodes, just passgroup=0and the id of the Zero node.
About removing a group, I’m not sure but maybe if you remove all nodes from that group you can achieve this.
Cheers.