1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +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
2018-01-08 08:26:44 +00:00
Sample session
***************
.. literalinclude:: ../../../examples/controller_post_shutdown.txt