---
title: "Delete session"
method: DELETE
path: "/auth/sessions/{id}"
tags: ["Sessions"]
---

# Delete session

`DELETE /auth/sessions/{id}`

Delete a session by ID.

## Path parameters

- `id` string, required

## Query parameters

- `user_id` string, required — The ID of the user, or the special value `me` for the currently authenticated user

## Response `200`

Successful response

- object
  - `success` boolean, required — Always equal to true.

---

[API](https://skmtc.dev/hexclave/apis/hexclave-rest-api.md) · [All operations](https://skmtc.dev/hexclave/apis/hexclave-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hexclave/apis/hexclave-rest-api/revisions/e134b68b3b7e?raw)
