add delete post to api