Removing multiple 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 delete multiple members from an activity with one API request, send an Atom feed as part of a delete request to the activity ACL.
Input
Method URI Description
DELETE <SERVER>/activities/service/atom2/acl Required Url Parameters: activityUuid - This is the UUID of the activity from which you wish to remove the specified members.
Content Type: application/atom+xml
Sample Request:
<?xml version="1.0" encoding="UTF-8"?>

<feed xmlns="http://www.w3.org/2005/Atom" >

<entry xmlns="http://www.w3.org/2005/Atom"
   xmlns:snx="http://www.ibm.com/xmlns/prod/sn">
   <contributor>
       <snx:userid xmlns:snx="http://www.ibm.com/xmlns/prod/sn">22148957</snx:userid>
   </contributor>
   <category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="person" />
   <snx:role component="http://www.ibm.com/xmlns/prod/sn/activities">member</snx:role>
</entry>

<entry xmlns="http://www.w3.org/2005/Atom"
   xmlns:snx="http://www.ibm.com/xmlns/prod/sn">
   <contributor>
       <snx:userid xmlns:snx="http://www.ibm.com/xmlns/prod/sn">22148999</snx:userid>
   </contributor>
   <category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="person" />
   <snx:role component="http://www.ibm.com/xmlns/prod/sn/activities">member</snx:role>
</entry>
</feed>
Name Type Optional Description
activityUuid
string No The UUID of the activity, you wish to remove members from
Output
Content Type: text/plain
Code Description
200
OK. Indicates that the request was received successfully.
400
Bad Request. Returned when no matching user record can be found.
403
Forbidden. The server is unable to fulfill a request, typically because the request was for an object that you do not have permission to access.