1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-30 18:50:58 +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
2017-03-21 12:32:04 +00:00
Sample session
***************
.. literalinclude:: ../../../examples/controller_post_shutdown.txt