Shutdown Server

Initiate graceful server shutdown.

Accepts an optional JSON body {"reason": "..."}. Schedules a SIGTERM to the current process shortly after the response is sent so that the Uvicorn server exits cleanly.

post/shutdown

Request

  • The document declares no server URL.
  • Auth
    none declared

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 32 revisions of this API.