abort_upload
Cancel an upload and delete staged data so no parts are added to the drive. Use when a user cancels or the local file changes before completion.
Instructions
Cancel an upload created by prepare_upload: stop accepting parts and delete any staged data, so nothing is added to the drive. Use it when the user cancels or the local file changed; to continue an interrupted upload instead, use get_upload_parts. Returns success. Requires files:upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | number of part URLs, maximum 100 | |
| upload_id | Yes | upload UUID returned by prepare_upload | |
| first_part | No | first part number, default 1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes |