Updating community members
Added by IBM contributorIBM | Edited by Elizabeth J Bowling on October 24, 2016
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To update a member in the access control list for an application, send a replacement member entry document in Atom format to the existing ACL node's edit web address.
Tags: commapi
All existing member 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 member entry, retrieve the existing tags, and send them all back with the new tag in the update request.
Method URI Description
PUT /communities/service/atom/members Value of the href attribute of the <link> element with the rel="edit" attribute value for each acl node entry in the acl list feed.
Content Type: application/atom+xml
Name Type Optional Description
string No The UUID of community
string No Short ID of the member (the user) you want to update
Code Description
OK. Indicates that the member was successfully updated. If an error occurs, this header contains one of the error codes.
Bad Request.
Not Found.
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.