Delete homeassistant database

So basically it’s something that I need to do by removing the SD card? Can’t be done, for example, from configurator or samba?