Deleting posts

Hello I want to delete all the posts in my system how can make it ?

Please refer to this api: Amity API

Yes this API , but I am a moderator and want to delete all posts I already created or another one create it , i want to delete ALL PLEASE

There are 2 options, you can delete them directly on console or you can write a script to loop delete them.

How can delete them direct on the console ?
and if i want to make script i need access token for every user to delete his posts ?

You can access the console > go to community or post management, you will see the bin in the action column.

For script option, you can use admintoken in this case.