Delete forums programmatically 

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.

Table 1. Atom API request details

Method Resource URI Input and output representations
DELETE 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

none

Input

None.


Output

None.

Returned HTTP headers

HTTP/1.1 204 No Content

Error codes

Request:

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:

HTTP/1.1 200 OK


Parent topic

Work with stand-alone forums


   

 

});

+

Search Tips   |   Advanced Search