Removing works best for this, as it will reset the data and rebuild it when they (if they) log back on. I also have a plugin called DataStore Editor that will let you see the data and manually edit it out.
I think there is a free one too. Just for a quick edit. Deleting the main key is how you do this. That will take everything within it also. Unless you’re looking to save the rest of the data.
That’s just a way to do it. You’ll need to figure out how to implement that. Possibly a reset on a ban trigger, like giving yourself infinite time.
If you wanna make something into a command, use a script that checks the chat for a slash command and use that to check if your command equals what you want.