Community articleDeleting a stand-alone forum topic programmatically
Added by IBM contributorIBM on March 10, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To delete a topic from a forum, use the HTTP DELETE method.



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.
Input
Method URI Description
DELETE /forums/atom/topic Value of the href attribute of <link> element that has a rel="edit" attribute value for each entry in the forum topics feed.
Name Type Optional Description
topicUuid
string No The UUID of the topic you wish to delete.
Output
Code Description
204
Indicates that the forum topic was successfully deleted (and no content is returned).
401
Unauthorized.
404
Not Found.
Examples
DELETE /forums/atom/topic?topicUuid=84139b22-17f0-4290-939b-73370c6ef17c HTTP/1.1

	Host: www.dulcinea.com

	Content-Type: application/atom+xml

	Authorization: xxx


Response returned by the server
HTTP/1.1 200 OK