How to get rid of iOS app data but retain the app itself

iOS storage management offers the option to delete an app but retain its data (“Offload App”). I’m wondering if there’s any simple way to do the reverse: keep the app but nuke all its documents and data.

Obviously, you can just totally delete the app along with its data (“Delete App”) and then install the app again. I suppose that would achieve the same goal. But I’m hoping there’s some single-tap option without having to get into the whole delete/re-install rigamarole.

Maybe Apple is guarding against the scenario where an app has a “first run” routine, which creates some data, but also records a state change (somewhere that is not “data”) which keeps the first run routine from being executed on a subsequent launch. If you delete the “data,” in this scenario, you’ve put the app into an unstable state.

I haven’t tried this, but it looks like iMazing can do it: Select device > Data > Apps > select app > Delete