---
title: "Destroy a user session"
method: DELETE
path: "/sessions/{userId}"
tags: ["Sessions"]
---

# Destroy a user session

`DELETE /sessions/{userId}`

Closes all tabs and cleans up state for the given userId.

## Path parameters

- `userId` string, required

## Response `200`

Session destroyed.

- object
  - `ok` boolean
  - `closed` integer

## Other responses

- `404` — Session not found.

---

[API](https://skmtc.dev/jo-inc/apis/camofox-browser.md) · [All operations](https://skmtc.dev/jo-inc/apis/camofox-browser/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jo-inc/camofox-browser/revisions/d007e73dad3d/schema)
