---
title: "Terminate a session"
method: DELETE
path: "/v1/sessions/{session_id}"
---

# Terminate a session

`DELETE /v1/sessions/{session_id}`

Terminate an active Devin session. The session must not already be in an exited state.

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- TerminateSessionResponse — Response for successful session termination.
  - `detail` string, required

## Other responses

- `422` — Validation Error

---

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