---
title: "Disable one of my sessions"
method: DELETE
path: "/sessions/{id}"
tags: ["frontend"]
---

# Disable one of my sessions

`DELETE /sessions/{id}`

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

## Path parameters

- `id` string, required

## Headers

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

## Response `204`

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

## Other responses

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

## Changes

- **2022-12-02** `b6e5ffa30d4c` — 6 info
  - api operation id `revokeSession` removed and replaced with `disableMySession`
  - api tag `frontend` added
  - api tag `v0alpha2` removed
  - added the new optional `header` request parameter `Cookie`
  - …2 more
- **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/7a0df90e2f13/schema)
