Delete Post from a Topic Using discourse API

Look at it the info from Chrome again.

Request URL: http://discourse.url.com/posts/1314

The URL is the key here. It is accessing post id 1314. Now look at the Method

Request Method: DELETE

It is using DELETE, instead of POST, GET, etc.

Combine the two and it will delete the post (so long as you also pass in the API_KEY and API_Username

4 Likes