---
title: "Remove PTY session"
method: DELETE
path: "/pty/{ptyID}"
---

# Remove PTY session

`DELETE /pty/{ptyID}`

Remove and terminate a specific pseudo-terminal (PTY) session.

## Path parameters

- `ptyID` string, required

## Query parameters

- `directory` string

## Response `200`

Session removed

- boolean

## Other responses

- `404` — Not found

---

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