POST api/v2.0/ResourceLibrary/AbortMultipartUpload

Abort an in-process multipart upload.

Request Information

URI Parameters

None.

Body Parameters

Contains the upload ID assigned to the multipart URL, and the object key identifying the file for which in-process multipart upload is to be aborted

MultipartUploadAbortRequest
NameDescriptionTypeAdditional information
ObjectKey

Object key that was to be assigned to the uploaded file in the file repository prior to aborting the multipart upload.

string

Required

UploadId

Upload ID assigned when the multipart upload was initiated used to identify the multipart upload to abort.

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ObjectKey": "sample string 1",
  "UploadId": "sample string 2"
}

application/xml, text/xml

Sample:
<MultipartUploadAbortRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request">
  <ObjectKey>sample string 1</ObjectKey>
  <UploadId>sample string 2</UploadId>
</MultipartUploadAbortRequest>

Response Information

Resource Description

None.