Chunked Uploads

Deletes a chunked upload

DELETE
/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}

Deletes a chunked upload that has been committed but not yet consumed.

This method cannot be used to delete the following types of chunked uploads, which the system deletes automatically:

  • Chunked uploads that have been consumed by use in another API call.
  • Expired chunked uploads.

Note: If you are aware of a chunked upload that can be discarded, the best practice is to explicitly delete it. If you wait for the system to automatically delete it after it expires, the chunked upload will continue to count against your quota.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

chunkedUploadId*string

The ID of the chunked upload.

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v2.1/accounts/string/chunked_uploads/string"
{  "checksum": "string",  "chunkedUploadId": "string",  "chunkedUploadParts": [    {      "sequence": "string",      "size": "string"    }  ],  "chunkedUploadUri": "string",  "committed": "string",  "expirationDateTime": "string",  "maxChunkedUploadParts": "string",  "maxTotalSize": "string",  "totalSize": "string"}