Drive
Cancel a big upload
DELETE/api/v1/drive/uploads/:id
Who can use this: Any signed-in accountAs Markdown
Drops the bytes sent so far and closes the session. An upload you just abandon is cleared away after 24 hours anyway; this does it now.
Parameters
| Name | Where | What it is |
|---|---|---|
| id required | path | The upload_id from Start a big upload.e.g. 0b6f3c1e-8d2a-4f7b-9e5c-3a1d2b4c6e8f |
Good to know
- A finished upload can't be cancelled (409), because it is a file now; delete the file instead.
- An upload that isn't yours, or no longer exists, answers 404.