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 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 Retrieving a subcommunity
for more information.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|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|
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.
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the subcommunity entry was successfully updated. If an error occurs, this header will contain one of the error codes below.Error codes
Parent topic: Working with subcommunities
Community entry content
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found