---
title: "Cleanup File"
method: POST
path: "/internal/cleanup-file"
---

# Cleanup File

`POST /internal/cleanup-file`

## Request

- Base URL: `https://api.enconvert.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enconvert.com/internal/cleanup-file`
- Auth: none declared

Delete one expired file (manual / straggler Cloud-Task trigger).

Routine retention now runs in-process via services/retention_worker.py; this
route stays for manual ops and any legacy Cloud Task still pointed at it, and
shares the same deletion + storage-reconciliation primitive so both paths
behave identically.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/enconvert/apis/conversion-api.md) · [All operations](https://skmtc.dev/enconvert/apis/conversion-api/llms.txt) · [OpenAPI document](https://skmtc.dev/enconvert/apis/conversion-api/revisions/b8c820393569?raw)
