Add a community member programmatically 

To add a member to the access control list of a community, send an Atom entry document containing the new member to the access control list feed. You can only add one member per post.

You can use this method to add members to subcommunities as well as communities with the following limitations:

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method Resource URI Input representation
POST acl list feed Found in the href attribute of <link> element that has a rel="http://www.ibm.com/xmlns/prod/sn/member-list" attribute value for each community member


Input

Provide a member Atom entry document.

Note: The content type of the Atom entry document must be application/atom+xml.


Output

An Atom entry document containing the new member entry.

Returned HTTP headers

HTTP/1.1 201 Created

Location: url

Error codes


Parent topic

Work with community members

Related reference
Add a member programmatically
Member entry content

+

Search Tips   |   Advanced Search