Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Object Storage
  • Getting started
  • Step-by-step instructions
  • Tutorials
  • Concepts
  • Tools
  • API reference
    • REST (Amazon S3-compatible)
      • How to use the API
      • Signing requests
      • REST
        • All services and methods
        • Bucket
        • Object
        • Multipart upload
          • General multipart upload procedure
          • startUpload
          • uploadPart
          • copyPart
          • listParts
          • abortUpload
          • completeUpload
          • listUploads
        • Static Website Hosting
        • CORS
        • Lifecycles
        • ACL
        • Bucket Policy
        • Common request headers
        • Common response headers
        • Responses
    • gRPC and REST
  • Access management
  • Pricing policy
  • Questions and answers
  1. API reference
  2. REST (Amazon S3-compatible)
  3. REST
  4. Multipart upload
  5. abortUpload

abortUpload method

Written by
Yandex Cloud
  • Request
    • Path parameters
    • Query parameters
    • Headers
  • Response
    • Headers
    • Response codes

Aborts an upload and deletes all object parts that were saved from Object Storage. If the abort upload request was received during the uploading of any part, no result is guaranteed.

We recommend that you get a list of parts after aborting the upload and, if it is not empty, resend the request. Abort requests should be sent until the list of the parts becomes empty.

Request

DELETE /{bucket}/{key}?uploadId=UploadId HTTP/2

Path parameters

Parameter Description
bucket Bucket name.
key Object key.

Query parameters

Parameter Description
uploadId ID of the multipart upload returned by Object Storage at startup.

Headers

Use the necessary common request headers in requests.

Response

Headers

Responses can only contain common response headers.

Response codes

For a list of possible responses, see Responses.

Additionally, Object Storage may return errors described in the table below.

Error Description HTTP code
NoSuchUpload The specified upload doesn't exist. The specified upload ID might be incorrect or the upload was completed or deleted. 404 Not Found

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
In this article:
  • Request
  • Path parameters
  • Query parameters
  • Headers
  • Response
  • Headers
  • Response codes