When using this API in an IBM SmartCloud
™ for Social Business environment, note that certain differences might exist. For more information, see Communities API
in the IBM Social Business Development wiki.
Only the owner of a community can delete a forum reply from it. Deleted replies 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 reply||Value of the href attribute of <link> element that has a rel="edit" attribute value for each entry in the forum replies feed.||none|
If you want to customize the message that is displayed when the reply is deleted, use a PUT method to delete the reply instead. Be sure to provide the <category scheme="http://www.ibm.com/xmlns/prod/sn/flags term="deleted">
element in the entry content. See Updating community forum replies
for more information.
Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the forum reply was successfully deleted (and no content is returned).Error codes
Parent topic: Working with community forum replies
Updating a community forum reply programmatically
Forum reply entry content
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found