---
title: "Delete source file and resulting tracks from storage."
method: POST
path: "/api/v1/delete/"
tags: ["Common"]
---

# Delete source file and resulting tracks from storage.

`POST /api/v1/delete/`

WARNING: All running tasks related to the source file will be cancelled. Do not call delete on source files with processing tasks.
    This only deletes the media files, not the database records.
    The files are removed from storage immediately, but download links will remain valid for one hour after deletion due to CDN caching.
    The /check/ endpoint will still return a valid check result for 24 hours, but the download links will lead to a 404 error after deletion.

## Request body

- DeleteParameters
  - `source_id` string, uuid4, required — ID of the source file.

## Response `200`

OK

- SuccessResponse

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Entity

---

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