Updating communities
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 16, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To update a community, send a replacement community entry document in Atom format to the existing community's edit web address.
Tags: commapi
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. If you want to remove a Community from the trash (must be a Community owner), remove the <category term="deleted" ...></category> element in the entry.
Method URI Description
PUT /communities/service/atom/community/instance Value of the href attribute of the <link> element with a rel="edit" attribute value for each entry in the my communities feed.
Content Type: application/atom+xml
Name Type Optional Description
string No The UUID of the community you wish to update.
Code Description
OK. Indicates that the community entry was successfully updated. If an error occurs, this header contains one of the error codes.
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.
Not Found.