# Delete Post from a Topic Using discourse API

**URL:** https://meta.discourse.org/t/delete-post-from-a-topic-using-discourse-api/30633
**Category:** Support
**Created:** [June 30, 2015, 11:36am UTC](https://meta.discourse.org/t/delete-post-from-a-topic-using-discourse-api/30633 "2015-06-30T11:36:36Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [July 1, 2015, 5:18am UTC](https://meta.discourse.org/t/delete-post-from-a-topic-using-discourse-api/30633/5 "2015-07-01T05:18:10Z")

</div>

@User143 Review this topic:

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

and and this text file specifically

[https://github.com/discourse/discourse\_api/blob/master/routes.txt#L71-L78](https://github.com/discourse/discourse_api/blob/master/routes.txt#L71-L78)

---

_[View the full topic](https://meta.discourse.org/t/delete-post-from-a-topic-using-discourse-api/30633)._
