delete endpoint for posts