Skip to content

Shut down the server

POST
/api/server/shutdown
Code sample: Shell / cURL
curl --request POST \
--url http://127.0.0.1:8004/api/server/shutdown \
--header 'Authorization: Bearer <token>'

Stopping; every shell closes

Missing or wrong access token

Media typetext/plain
string

The request’s Host or Origin isn’t allowed, or the caller can’t use this route (a guest token, or btmux connect)