Delete File
Trashes or deletes a file. By default the file will be moved to the trash (as configured in Obsidian under Settings → Files & Links → Deleted Files).
Returns
Nothing.
Options
Delete immediately and irrevocably
When enabled, the note is deleted immediately, bypassing the trash folder.
Changes / History
v2024.1
- Initial release.