---
title: "Deactivate a Session"
method: DELETE
path: "/admin/sessions/{id}"
tags: ["identity"]
---

# Deactivate a Session

`DELETE /admin/sessions/{id}`

Calling this endpoint deactivates the specified session. Session data is not deleted.

## 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 204.

## Other responses

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

---

[API](https://skmtc.net/ory/apis/ory-identities-api.md) · [All operations](https://skmtc.net/ory/apis/ory-identities-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ory/ory-identities-api/versions/7a0df90e2f13/schema)
