title: In new microsoft graph API, how do you remove members from a Unified group?
body: <p>The Microsoft Graph API documentation at <a href="https://graph.microsoft.io/docs/api-reference/v1.0/resources/group" rel="nofollow">https://graph.microsoft.io/docs/api-reference/v1.0/resources/group</a> shows methods for listing members of a group and creating a new member.  I've had both of those working with my Perl code OK (using the app authorized client credentials flow, as this will be a daemon eventually running on one of our Linux servers). So that's all good, the bearer tokens are working, etc.  Great.</p>
  
  <p>What I want to do now is remove a member from a group, but I don't see a method documented for that?  I tried guessing and using:</p>
  
  <p>DELETE <a href="https://graph.microsoft.com/v1.0/groups/&lt;group_id&gt;/members/&lt;member_id" rel="nofollow">https://graph.microsoft.com/v1.0/groups/&lt;group_id&gt;/members/&lt;member_id</a>></p>
  
  <p>but that results in a "Bad Request" error with the explanation of "Write requests are only supported on contained entities". So is this possible and if so, what is the RESTful call I need to make?</p>
  
  <p>I can foresee a similar issue with deleting calendar events when I get to that (I'm trying to set up groups that have calendar events attached to them for our student timetabling system) as the documentation shows API calls for listing events and creating them, but not removing them.  I get the impression that the API is still under development (despite moving from /beta to /v1.0) and the documentation is in flux?</p>