---
title: "Revoke all sessions except the current one"
method: DELETE
path: "/auth/sessions"
tags: ["Auth"]
---

# Revoke all sessions except the current one

`DELETE /auth/sessions`

## Request

- Base URL: `https://api.flashdata.dev/v2`
- URL: `https://api.flashdata.dev/v2/auth/sessions`
- Auth: API key in cookie `__Host-fd_session` and API key in header `X-CSRF-Token`

## Response `204`

Other sessions revoked

## Other responses

- `401`: Authentication required or invalid
- `403`: Authenticated but not permitted, or CSRF validation failed

---

[API](https://skmtc.dev/flashdata/apis/flashdata-customer-api.md) · [All operations](https://skmtc.dev/flashdata/apis/flashdata-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flashdata/apis/flashdata-customer-api/revisions/109179fe9313?raw)
