The member-leave command removes a Magna-node from the cluster.

JSON Input Data Format
{
    "id": string,
    "member": string
}
id * Specifies the ID of the cluster.
member * Specifies the ID of the Magna-node to be removed from the cluster.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}