API RestDocuments
Dernière mise à jour le 20 juillet 2026
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).
Authorization
JwtAuth AuthorizationBearer <token>
In: header
Path Parameters
file_id*File Id
Format
uuidResponse Body
curl -X POST "https://example.com/documents/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel-upload"Empty
Continuer plus loin