Files

Remove resumable upload staging

Cancel an interrupted upload or clean up its completion receipt. Idempotent when the staging directory is absent. Never deletes the published destination. May resume the computer unless no_wake=1.

Requires the member role or higher.

delete/computers/{id}/files/uploads

Request

  • Base URL: https://app.mandala.computer/api/v1
  • URL: https://app.mandala.computer/api/v1/computers/{id}/files/uploads
  • Auth: HTTP bearer

Path parameters

idstring required

The computer id.

Query parameters

pathstring required

Normalized absolute destination file path, at most 4096 bytes, with no control characters and no empty, . or .. segment; the parent directory must exist. Anything else is a 400.

upload_idstring required

A fresh random 32-character lowercase hex ID. Save it with path and the source file to resume.

no_wake'1'

Set to 1 to require a running computer without automatic resume: a computer that is not running answers 409 with reason: unavailable rather than being resumed. Any other value is a 400.

Response

Staging removed.

okboolean

Always true. A failure is a status code, not ok: false.

Changes

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