---
title: "Revoke and Invalidate a Session"
method: DELETE
path: "/sessions"
tags: ["public"]
---

# Revoke and Invalidate a Session

`DELETE /sessions`

Use this endpoint to revoke a session using its token. This endpoint is particularly useful for API clients
such as mobile apps to log the user out of the system and invalidate the session.

This endpoint does not remove any HTTP Cookies - use the Self-Service Logout Flow instead.

## Request body

- RevokeSession
  - `session_token` string, required — The Session Token Invalidate this session token.

## Response `204`

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
typically 201.

## Other responses

- `400` — genericError
- `500` — genericError

---

[API](https://skmtc.dev/ory/apis/ory-kratos-api.md) · [All operations](https://skmtc.dev/ory/apis/ory-kratos-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ory/ory-kratos-api/revisions/e77b8bae3f57/schema)
