Is there an easy way to empty an environment?

As you know, we can only create a new environment by cloning from an existing environment.

However, due to some reasons, we want to share one contentful space with multiple applications. That being said, some environments will be used for one app, and some will be used for another.

In this case, when I want to create an environment for 2nd app, I can only clone from an existing environment of the 1st app, then I need to empty the newly created environment.

Instead of looping content models and content then deleting them one by one, is there an easy way to achieve that?

Thanks.

This npm library helps me to resolve the question.