Community articleDeleting forums programmatically
Added by IBM contributorIBM | Edited by IBM contributorLDD Webmaster on June 27, 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 forum, use the HTTP DELETE method.



To delete a forum, use the HTTP DELETE method.

Only the owner of a stand-alone forum can delete the forum. Deleted forums cannot be restored.

See Authenticating requests for information about how to authenticate the request.


 
Input
Method URI Description
DELETE /forums/atom/forum Web address returned in the HTTP location header when the forum was created.
Web address in the href attribute of the <link> element with the rel="edit" attribute of a forum Atom entry

Name Type Optional Description
forumUuid
string No The UUID of the forum you wish to delete.
Output
Code Description
204
Indicates that the forum was successfully deleted (and no content is returned).
401
Unauthorized.
404
Not Found.
Examples
DELETE http://www.dulcinea.com/forums/atom/forum?forumUuid=3b153694-e27e-4085-8868-2952110fdad2 HTTP/1.1

	Host: www.dulcinea.com

	Content-Type: application/atom+xml

	Authorization: xxx


Response returned by the server
HTTP/1.1 200 OK