---
title: "Disable my other sessions"
method: DELETE
path: "/sessions"
tags: ["frontend"]
---

# Disable my other sessions

`DELETE /sessions`

Calling this endpoint invalidates all except the current session that belong to the logged-in user.
Session data are not deleted.

## Headers

- `X-Session-Token` string
- `Cookie` string

## Response `200`

deleteMySessionsCount

- DeleteMySessionsCount — Deleted Session Count
  - `count` integer — The number of sessions that were revoked.

## Other responses

- `400` — errorGeneric
- `401` — errorGeneric
- `default` — errorGeneric

## Changes

- **2022-12-02** `b6e5ffa30d4c` — 5 info
  - api operation id `revokeSessions` removed and replaced with `disableMyOtherSessions`
  - api tag `frontend` added
  - api tag `v0alpha2` removed
  - removed the non-success response with the status `404`
  - …1 more
- **2022-03-22** `028a4cf83c15` — 1 info
  - endpoint added
- **2021-07-13** `8f1b399ab6e6` — 1 breaking
  - api path removed without deprecation
- **2021-05-18** `9123bcead5ed` — 4 info
  - the response property `error` became required for the status `400`
  - the response property `error` became required for the status `500`
  - the response property `error/message` became required for the status `400`
  - the response property `error/message` became required for the status `500`
- **2021-05-05** `381c760af46e` — 4 breaking, 3 warning, 6 info
  - added required request body
  - the response property `error` became optional for the status `400`
  - the response property `error/message` became optional for the status `400`
  - removed the success response with the status `200`
  - …9 more

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