1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00
gns3-server/docs/api/v2/controller/server/shutdown.rst

21 lines
589 B
ReStructuredText
Raw Normal View History

2016-06-04 08:40:39 +00:00
/v2/shutdown
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
2016-06-04 08:40:39 +00:00
POST /v2/shutdown
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2016-06-04 08:40:39 +00:00
Shutdown the local server
Response status codes
**********************
2016-06-04 08:40:39 +00:00
- **201**: Server is shutting down
- **403**: Server shutdown refused
Sample session
***************
2016-06-04 08:40:39 +00:00
.. literalinclude:: ../../../examples/controller_post_shutdown.txt