You can use the Shutdown method to restart or shutdown the nodes in a cluster. You can shut down a single node, multiple nodes, or all of the nodes in the cluster using this method.


This method has the following input parameters:

Name Description Type Default value Required
nodes List of NodeIDs for the nodes to be restarted or shut down. integer array None Yes
option Action to take for the cluster. Possible values:
  • restart: Restarts the cluster.
  • halt: Performs a full power-off.
string restart No

Return value

This method has no return value.

Request example

Requests for this method are similar to the following example:

   "method": "Shutdown",
   "params": {
     "nodes": [
     "option": "halt"
   "id": 1

Response example

This method returns a response similar to the following example:

  "id" : 1, 
  "result" : {
     "failed": [],
     "successful": [