---
title: "Manual Cleanup Orphaned Sessions"
method: POST
path: "/call/cleanup-orphaned"
tags: ["call", "calls"]
---

# Manual Cleanup Orphaned Sessions

`POST /call/cleanup-orphaned`

Manually trigger cleanup of orphaned call sessions.

🔒 Had no auth dependency at all. Not called by the frontend (cleanup
already runs opportunistically inside create_call_session) — this is a
manual maintenance trigger, so it's gated the same way its sibling
/admin/tokens/cleanup-orphaned is, rather than opened to any logged-in user.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-02** `45cbba31aa7d` — 2 info
  - added the new optional `header` request parameter `authorization`
  - added the non-success response with the status `422`

[Change history](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/changes/call/cleanup-orphaned/post.md)

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluentea/aurqa-language-learning-platform-refactored/revisions/45cbba31aa7d/schema)
