API Methods: forums.deletePost

Description

Deletes a post from a forum.


Authentication

This method requires authentication with 'write' permission.

API Version

Version 1&2

Required parameters

  • post_id :
    the id number of the post. The list of post ids is available from the forums.getPosts
  • forum_id :
    the id number of the forum to which this post belongs. The list of forum ids is available from the forums.getList

Optional parameters

  • None

Example response

<?xml version="1.0"?>
<response status="ok" time="Mon, 21 Apr 2008 16:02:35 -0500">
    <forum_posts count="1">
        <forum_post>
             <status>
                <![CDATA[ok]]>
            </status>
        </forum_post>
    </forum_posts>
</response>