API
Delete a file
The bytes go, and every link stops working.
DELETEapi.openemail.uk/files/{id}
Runs the real call against your workspace, with your own key.
DELETE /files/{id}
The bytes go, and every link stops working.
Example
Needs threads:write. The row stays, marked deleted, and the message it came on still lists the attachment, which then fails to download. There is no undo.
curl -X DELETE "$OE/files/file_6bb640f5b99e47deb758f1f5" -H "$AUTH"{ "object": "file", "id": "file_6bb640f5b99e47deb758f1f5", "deleted": true}Deleting is the owner’s, as on the Files page: an app connected by a member is refused with 403 owner_only. A key limited to particular addresses may delete only files that arrived at them.