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

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

`DELETE /admin/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

- **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/admin/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/fca041c7721f/schema)
