Abort multipart


Abort Request is used for stoping the file upload.


REQUEST BODY SCHEMA: application/json



Abort Request is used for stoping the file upload.


key_path
string

The key_path value is the response value from Create Multipart Request.

upload_id
string

The upload_id value is the response value from Create Multipart Request.


  https://optimus-api.crunchmediaworks.com/vod/v1/customer/multipart/abort


Request samples




  curl -v 'https://optimus-api.crunchmediaworks.com/vod/v1/customer/multipart/abort'   -H 'authorization: XXX'   --data-raw '{
    "key_path": "vod/input/bc96e670-4450-9c1-a53c-5175182040e2/1f3dd1eb-e71a-42c9-b1b0-c991fe842239/Show.MOV",
    "upload_id": "teG.HH3cgjd3jWwcg43WxVEffwce0ewmZnPW5y8zEXPaqXRpGGsIahEqVRV.cMoauaWfolPD4bhp4ahXE4Qu1FMSOoAWe5NZP8UC25W3cG7S16ZM14_ML3j_MT9ZAhlkYZaO6zkaZqSDYEJSXJe1elzDU4eYpgEb_1kMpW0"
  }' 

 


Response samples


  {
    "data": {
        "RequestCharged": null
    },
    "message": "Aborted upload successfully"
}
  

  {
    "error": {},
    "message": "string"
  }
  

  {
    "error": "InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, AbortMultipartUploadInput.Key.
",
    "message": "Error aborting upload."
  }


  {
    "error": "NoSuchUpload: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.
	status code: 404, request id: 9JYTGAZ3DTBRHQN0, host id: n0OD/xM9JcYYQO79nIbV5M2PAF4hXtmyjRCLgfKnK2bGpHpbtLblNbtAFxrekwlQOqTbeYpD2aE=",
    "message": "Error aborting upload."
  }


  

  {
    "error": {},
    "message": "Unauthorized"
  }