How can i delete a post using discourse api?

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.

See Delete Post from a Topic Using discourse API

6 Likes

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.

2 Likes

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