Need to delete stored blockchain - how?

How can I delete blockchain data to free up space on /mnt/data that is 100% full?
I have ssh access (for now) and tried to opt for pruning with 500GB but no luck.

I need to delete something. Please advise.

In the setting, there is a way to “trim” the blockchain.