---
title: "Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity."
method: DELETE
path: "/identities/{id}/sessions"
tags: ["v0alpha2"]
---

# Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.

`DELETE /identities/{id}/sessions`

This endpoint is useful for:

To forcefully logout Identity from all devices and sessions

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

## Changes

- **2021-10-28** `c55ed8ad9f0c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ory/apis/ory-identities-api/changes/identities/:id/sessions/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/c55ed8ad9f0c/schema)
