Stops a MultipartUpload event. To perform an AbotMultipartUpload operation, you must provide the Upload ID of the MultipartUpload event you want to stop.
- After a MultipartUpload event is stopped, you cannot use this Upload ID to perform any operations, and the uploaded data parts are also deleted.
- After you stop a MultipartUpload event, if parts in this event is still being uploaded, they are not deleted. Therefore, if multiple MultipartUpload events are performed concurrently, you must call AbortMultipartUpload for multiple times to completely release the OSS storage spaces.
DELETE /ObjectName?uploadId=UploadId HTTP/1.1 Host: BucketName.oss-cn-hangzhou.aliyuncs.com Date: GMT Date Authorization: Signature
Delete /multipart.data? &uploadId=0004B9895DBBB6EC98E HTTP/1.1 Host: oss-example.oss-cn-hangzhou.aliyuncs.com Date: Wed, 22 Feb 2012 08:32:21 GMT Authorization: OSS qn6qrrqxo2oawuk53otfjbyc:J/lICfXEvPmmSW86bBAfMmUmWjI=
HTTP/1.1 204 Server: AliyunOSS Connection: keep-alive x-oss-request-id: 059a22ba-6ba9-daed-5f3a-e48027df344d Date: Wed, 22 Feb 2012 08:32:21 GMT
The SDKs of this API are as follows:
|Error code||HTTP status code||Description|
|NoSuchUpload||404||The Upload ID does not exist.|