Delete a stand-alone forum topic programmatically
To delete a topic from a forum, use the HTTP DELETE method.Only the owner of a stand-alone forum can delete a topic from the forum. 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
Input
None.
Output
None.Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the forum topic was successfully deleted (and no content is returned).
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Request:
DELETE /forums/atom/topic?topicUuid=84139b22-17f0-4290-939b-73370c6ef17c HTTP/1.1 Host: www.dulcinea.com Content-Type: application/atom+xml Authorization: xxxResponse:
HTTP/1.1 200 OK
Parent topic
Work with stand-alone forum topicsRelated reference
Forum topic entry content
});