---
title: "Shutdown Server"
method: POST
path: "/shutdown"
---

# Shutdown Server

`POST /shutdown`

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.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/versions/86f514b4e920/schema)
