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.
All existing forum reply information will be replaced with the new data. To avoid deleting all existing data, retrieve any data you want to retain first, and send it back with this request. See Retrieving forum replies
for more information. If you want to delete a reply and provide a customized message about why the reply was removed, send this request without first retrieving the reply data and include a <category scheme="http://www.ibm.com/xmlns/prod/sn/flags term="deleted">
element in the entry content. See Deleting forum replies
for more information.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|PUT||forum reply||Value of the href attribute of the <link> element that has a rel="edit" attribute value for each entry in the forum replies feed.||forum reply|
Provide a forum reply Atom entry document.
The content type of the Atom entry document must be application/atom+xml
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the forum reply was successfully updated. If an error occurs, this header contains one of the error codes.Error codes
Parent topic: Working with community forum replies
Retrieving a community forum reply programmatically
Deleting a community forum reply programmatically
Forum reply entry content
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found