v1

latestOpenAPI 3.1.02026-07-2418848.0 KB

Archive 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

archivedboolean required

Whether the file was archived

fileUrlstring required

URL of the archived file

Example response

{
  "archived": true,
  "fileUrl": "https://app.eraser.io/workspace/abc123"
}