S3 · Multipart uploads
AbortMultipartUpload
/{bucket}/{key}?uploadIdStops a multipart upload and deletes its parts.
Use it to clean up an upload that you will not complete.
- Role
- Editor or higher
- Support
- Supported
- Deletes the parts. A second abort returns 404 NoSuchUpload.
Path parameters
Query parameters
The upload ID from CreateMultipartUpload.
Headers
The workspace ID that must own the bucket. Another owner returns 403 AccessDenied.
Responses
204No Content
Storage stopped the upload.
This response has no body.
Errors
Select an error in the response example to see its XML body. Any request can also get the common errors, such as SignatureDoesNotMatch.
- 404NoSuchUpload
The upload ID is not known for this key. It was completed or aborted.
What to do: No action is needed when you aborted it before.
- 404NoSuchBucket
No bucket has this name, or the bucket was deleted.
What to do: Check the bucket name. ListBuckets shows the buckets of the workspace.
- 403AccessDenied
The key does not have the role for this operation, or the bucket is in another workspace.
What to do: Use a key of the workspace that owns the bucket, with the role above.