Skip to main content
DELETE
/
v1
/
uploads
/
{upload_id}
Cancel an upload
curl --request DELETE \
  --url https://roughy-api-staging.fly.dev/v1/uploads/{upload_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "precondition_failed",
    "message": "Tus-Resumable header missing or wrong version."
  }
}

Authorizations

Authorization
string
header
required

Pass your API key as Authorization: Bearer sk_…. Mint a key from your dashboard's API-keys page.

Headers

Tus-Resumable
string | null

TUS protocol version. Must be 1.0.0.

Path Parameters

upload_id
string<uuid>
required

Identifier of the upload.

Response

Upload cancelled.