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