Cancel a shared upload
DELETE/api/v1/shares/:shareId/files/:fileId/versions/:versionId
Requires a valid safebucket_share_token cookie if the share is password-protected. Only pending uploads can be cancelled from a share; uploaded versions cannot be deleted.
Request
Responses
- 204
- 403
- 404
- 409
Upload cancelled
Uploads not allowed, or file not part of this share (SHARE_UPLOAD_NOT_ALLOWED, SHARE_FILE_NOT_IN_SHARE)
File or version not found (FILE_NOT_FOUND, FILE_VERSION_NOT_FOUND)
The version is not a pending upload (FILE_VERSION_NOT_DELETABLE)