Updating community members
Added by IBM contributorIBM | Edited by IBM contributorPaul Bastide on November 10, 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 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.
Input
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
communityUuid
string No The UUID of community
memberid
string No ID of member you wish to update
Output
Code Description
200
OK. Indicates that the member was successfully updated. If an error occurs, this header contains one of the error codes.
400
Bad Request.
403
Forbidden.
404
Not Found.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.