Delete a task file or unfinished upload

Poster may delete any file; allowed worker may delete only its own folder files. Blocks reads before deleting bytes. If cleanup fails, the file stays deleting and consumes quota; retry this operation. Cannot undo.

delete/api/tasks/{id}/files/{fileId}

Request

  • Base URL
    https://www.toma.com
  • URL
    https://www.toma.com/api/tasks/{id}/files/{fileId}
  • Auth
    • HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

idstring required
fileIdstring required

Response

File operation result.

deletedunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.