v1

latestOpenAPI 3.0.02026-07-1324071.6 KB
Files

Delete a file

Delete a file from database and optionally from R2 storage

post/v1/files/delete

Request body

fileIdstring required
deleteFromR2boolean

Also delete the file from R2 storage

Response

File deleted successfully

successtrue required
creditsCostnumber

Credits consumed by this operation

requestIdstring uuid required

Unique request identifier for tracing

timestampstring date-time required

ISO timestamp when the response was generated