Files
xrpl-dev-portal/content/rippled-api-methods/stop.md
2018-01-22 16:27:33 -08:00

1.4 KiB

stop

[Source]

Gracefully shuts down the server.

The stop request is an admin command that cannot be run by unprivileged users!

Request Format

An example of the request format:

WebSocket

{
    "id": 0,
    "command": "stop"
}

JSON-RPC

{
    "method": "stop",
    "params": [
        {}
    ]
}

Commandline

rippled stop

The request includes no parameters.

Response Format

An example of a successful response:

JSON-RPC

{
   "result" : {
      "message" : "ripple server stopping",
      "status" : "success"
   }
}

Commandline

Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
   "result" : {
      "message" : "ripple server stopping",
      "status" : "success"
   }
}

The response follows the standard format, with a successful result containing the following fields:

Field Type Description
message String ripple server stopping on success.

Possible Errors