When a node is temporarily or permanently down, you may want to remove it from a cluster:
shell> curl -u admin:password -d otpNode=ns_1@192.168.0.107 \ http://192.168.0.106:8091/controller/ejectNode
POST /controller/ejectNode Host: altnernate.node.in.cluster:8091 Authorization: Basic xxxxxxxxxxxx Accept: */* Content-Length: xxxxxxxxxx Content-Type: application/x-www-form-urlencoded otpNode=ns_1@192.168.0.1
200 OK - node ejected 400 Error, the node to be ejected does not exist 401 Unauthorized - Credentials were not supplied and are required 403 Forbidden - Credentials were supplied and are incorrect