v1
latestOpenAPI 3.1.02026-07-2418848.0 KBArchive a file
Archives (soft-deletes) a file. The file can be restored from the trash in the Eraser UI.
delete/api/files/{fileId}
Path parameters
fileIdstring required
ID of the file to archive
Response
The file was archived successfully
Example response
{
"archived": true,
"fileUrl": "https://app.eraser.io/workspace/abc123"
}