---
title: "Delete all user sessions"
method: DELETE
path: "/projects/{id}/auth/users/{userId}/sessions"
tags: ["Auth Admin"]
---

# Delete all user sessions

`DELETE /projects/{id}/auth/users/{userId}/sessions`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/auth/users/{userId}/sessions`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Revokes all sessions for a user, forcing them to re-authenticate on all devices.
Use this to log out a user from everywhere.

## Path parameters

- `id` string, uuid, required
- `userId` string, uuid, required

## Response `204`

All sessions deleted

## Other responses

- `404`: User not found

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 1 breaking
  - added the new path request parameter `id`
- **2026-08-27** `bb44e98aba2e`: 1 warning
  - deleted the `path` request parameter `id`

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/auth/users/:userId/sessions/delete.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
