---
title: "Calling this endpoint invalidates the specified session. The current session cannot be revoked.
Session data are not deleted."
method: DELETE
path: "/sessions/{id}"
tags: ["v0alpha2"]
---

# Calling this endpoint invalidates the specified session. The current session cannot be revoked.
Session data are not deleted.

`DELETE /sessions/{id}`

This endpoint is useful for:

To forcefully logout the current user from another device or session

## Path parameters

- `id` string, required

## 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` — jsonError
- `401` — jsonError
- `500` — jsonError

## Changes

- **2022-03-22** `028a4cf83c15` — 1 info
  - endpoint added
- **2021-05-05** `381c760af46e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ory/apis/ory-identities-api/changes/sessions/:id/delete.md)

---

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