Need help to delete near 40k snapshots

Where in my post did I demonstrate the command without the % symbol?

Did you even test the command with -n and -v to assess what it will do and how much space it will free up?

Did you create a checkpoint before doing this? You could accidentally delete the wrong items, or mistype the command, and regret it with no way to undo the damage in a worst-case scenario.