---
title: "Close client connection context"
method: DELETE
path: "/client-connection"
---

# Close client connection context

`DELETE /client-connection`

Close the ClientConnectionContext (within the current Instance) keyed by X-Connection-ID header.

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

Close result

- object
  - `closed` boolean, required

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/kaaass/apis/opencode.md) · [All operations](https://skmtc.net/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaaass/opencode/revisions/8bb9a15bd144/schema)
