gio is the GLib command-line front end to GVfs, and trash moves a file into the desktop trash instead of deleting it. The file can be restored from the file manager's trash view, so this is the safe delete. Trash lives in ~/.local/share/Trash.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.