Kill a window
DELETE
/api/windows/{window_id}
Code sample: Shell / cURL
curl --request DELETE \ --url http://127.0.0.1:8004/api/windows/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”window_id
required
string format: uuid
Window ID
Responses
Section titled “Responses”Done
A malformed ID
Media typetext/plain
string
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)
No such window
It is the session’s last window
Media typetext/plain
string