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).
Parameters
Vault
The vault to work in.
Type: Vault reference
File Path
The path of the file, relative to the vault root.
Type: Text
Delete immediately and irrevocably
When enabled, the note is deleted immediately, bypassing the trash folder.
Type: Boolean (YES
/NO
)
Related Links
- Search the Actions for Obsidian community forum for "Delete File"