How can i delete a post using discourse api?

(Siddhu Dhangar) #1

I can delete a topics with the help of discourse api but i can’t delete a posts which are posted in topics. Any idea about this issue.

(cpradio) #2

See Delete Post from a Topic Using discourse API

(Siddhu Dhangar) #3

DELETE /posts/:id(.:format)

I have replaced :id to actual post id,
DELETE /posts/30

Now i am able to delete the post. it is working. Thanks.

(system) closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.