delete posts resource
deleted temp public image and post resource