POST
/
api
/
server
/
stop
Stop the server
curl --request POST \
  --url http://localhost:3000/api/server/stop
{
  "message": "Server stopping..."
}

Response

200 - application/json

Server is shutting down

The response is of type object.