---
title: "Close a standalone shell terminal and destroy its PTY"
method: DELETE
path: "/api/v1/shell-terminals/{handleId}"
tags: ["shellTerminals"]
---

# Close a standalone shell terminal and destroy its PTY

`DELETE /api/v1/shell-terminals/{handleId}`

## Path parameters

- `handleId` string, required — Shell terminal runtime handle identifier.

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error
- `501` — Not Implemented

---

[API](https://skmtc.net/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.net/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/composiohq/agent-orchestrator-http-daemon/versions/6ffec0ec12f0/schema)
