To delete a topic from a forum, use the HTTP DELETE method.
Only the owner of a community can delete a topic from a forum in that community. Deleted topics cannot be restored.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|Method||Resource||URI||Input and output representations|
|DELETE||forum topic||Value of the href attribute of <link> element that has a rel="edit" attribute value for each entry in the forum topics feed.||none|
Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the forum topic was successfully deleted (and no content is returned).Error codes
Parent topic: Working with community forum topics
Updating a community forum topic programmatically
Forum topic entry content
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found