Update a community forum topic programmatically
To update a topic in a community forum, send an updated forum topic document in Atom format to the existing forum topic's edit web address.All existing forum topic 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 Retrieve forum topics for more information.
See Authenticating requests for information about how to authenticate the request.
Table 1. Atom API request details
Method Resource URI Input representation PUT forum topic Value of the href attribute of the <link> element that has a rel="edit" attribute value for each entry in the forum topics feed. forum topic
Input
Provide a feed link Atom entry document.Note: The content type of the Atom entry document must be application/atom+xml.
Output
None.Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the forum topic was successfully updated. If an error occurs, this header contains one of the error codes.
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic
Work with community forum topicsRelated reference
Retrieve a community forum topic programmatically
Delete a community forum topic programmatically
Forum topic entry content
});