Skip to main content

POST v1/Upload-Session/Abort

POST
https://api.subworkflow.ai/v1/upload-session/abort

Aborts an existing Multipart Upload Session.

Summary

  • Please ensure you've read this upload sessions readme.md before continuing.
  • Once aborted, any chunks uploaded for the upload session are deleted.

Parameters

nametypelocationrequireddescription
content-typestringheaderrequiredYou must set the request content type to multipart/form-data
keystringbodyrequiredThe identifier for the upload session. This is obtained from the initial /start request.

Responses

{
"type": "object",
"properties": {
"success": { "type": "boolean" },
}
}

Example

curl -X POST https://api.subworkfow.ai/v1/upload-session/abort \
--header 'x-api-key: <YOUR-API-KEY>' \
--header 'Content-Type: multipart/form-data' \
--form "key=tmp_xMX0GRh5Ifa3VrY7"
{
"success": true
}