gns3-server/docs/api/v2/controller/server/shutdown.rst
Julien Duponchelle 73c31b4b87
Update docs
2017-03-21 13:32:04 +01:00

21 lines
589 B
ReStructuredText

/v2/shutdown
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/shutdown
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shutdown the local server
Response status codes
**********************
- **201**: Server is shutting down
- **403**: Server shutdown refused
Sample session
***************
.. literalinclude:: ../../../examples/controller_post_shutdown.txt