Deleting 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 stars1 comment

You can use the Community Members API with the DELETE method to remove a member from a community.
Tags: commapi
 
Input
Method URI Description
DELETE /communities/service/atom/community/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.
Name Type Optional Description
communityUuid
string No The UUID of community
userid
string No The short ID of the member you want to delete
Output
Code Description
200
OK. Indicates that the member was successfully removed from the acl list (and no content is returned).
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.
Leon Beckett commented on Apr 11, 2016

Re: Deleting community members

Is the query parameter "memberid" correct? Should it be "userid"?