Documentation v2.3.0.

API RestDocuments

Dernière mise à jour le 20 juillet 2026

POST
/documents/files/{file_id}/cancel-upload

Delete a file whose presigned upload never completed.

Called by the front when the presigned PUT to S3 fails, or when the user leaves the import page before it finishes. No-op if the file already made it past AWAITING_UPLOAD (see cancel_upload).

AuthorizationBearer <token>

In: header

Path Parameters

file_id*File Id
Formatuuid

Response Body