/v2/shutdown

POST /v2/shutdown

Shutdown the local server

Response status codes

  • 201: Server is shutting down

  • 403: Server shutdown refused

Sample session

curl -i -X POST 'http://localhost:3080/v2/shutdown' -d '{}'

POST /v2/shutdown HTTP/1.1
{}


HTTP/1.1 201
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Wed, 08 Jan 2020 02:28:35 GMT
Server: Python/3.6 GNS3/2.2.4dev1
X-Route: /v2/shutdown