Update communities
To update a community, send a replacement community entry document in Atom format to the existing community's edit web address.All existing community entry 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. For example, if you want to add a new tag to a community entry, retrieve the existing tags, and send them all back with the new tag in the update request. See Retrieve a community 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 community Value of the href attribute of the <link> element with a rel="edit" attribute value for each entry in the my communities feed. community
Input
Provide a community Atom entry document. 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 community entry 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 communities programmaticallyRelated reference
Retrieve a community
Community entry content
});