Update subcommunities 

To update a subcommunity, send a replacement subcommunity entry document in Atom format to the existing subcommunity's edit web address.

All existing subcommunity 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 subcommunity entry, retrieve the existing tags, and send them all back with the new tag in the update request. See Retrieve a subcommunity 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 subcommunity Value of the href attribute of the <link> element with a rel="edit" attribute value for each entry that represents a subcommunity in the My Communities feed. subcommunity


Input

Provide a subcommunity Atom entry document. A subcommunity is the same as a community entry, but contains a rel="http://www.ibm.com/xmlns/prod/sn/parentcommunity" <link> element. The content type of the Atom entry document must be application/atom+xml.


Output

None.

Returned HTTP headers

HTTP/1.1 200 OK

Error codes


Parent topic

Work with subcommunities

Related reference
Community entry content


   

 

});

+

Search Tips   |   Advanced Search