Answers.Body: <p>From using the API Explorer (<strong>Support menu > Developer > API Explorer</strong>) I can see that you can delete a GroupContact entity by specifying a GroupContact ID and a Group Contact Status of "Removed".</p>
  
  <p>I don't think that makes a lot of sense - even for a non-standard API such as GroupContact, since a Group Contact Status of "Removed" is NOT the same as a deleted contact.</p>
  
  <p>Note that my findings are at variance with <a href="https://issues.civicrm.org/jira/browse/CRM-16878" rel="nofollow">CRM-16878</a>, which covers the same topic.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-12T03:02:55.717Z
Answers.Text: Hi Jon, I asked on #civicrm and Eileen gave me the same answer. Thanks for this!
Answers.UserDisplayName: Vaibhav Sagar
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-12T00:50:43.300Z
Answers.LastActivityDate: 2016-01-12T00:50:43.300Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>As part of an import process, I'm trying to remove contacts from a group. There is a <code>delete</code> call for the <code>GroupContact</code> entity but this has been deprecated in favour of <code>create</code> (which I find puzzling). A <code>getfields</code> call shows that a <code>CRM_Core_SelectValues::groupContactStatus</code> callback is available, but this takes no arguments and is for display purposes only as far as I can tell.</p>
  
  <p>How do I use the <code>create</code> function to remove a specific contact from a group, or if that isn't possible, how do I use the API to remove a contact from a group?</p>
  
Tags: <api><groups>
Title: How do I remove a contact from a group using the API?
ThreadText: # How do I remove a contact from a group using the API?
  
  (Asked by: username_0 on 2016-01-11)
  
  As part of an import process, I'm trying to remove contacts from a group. There is a `delete` call for the `GroupContact` entity but this has been deprecated in favour of `create` (which I find puzzling). A `getfields` call shows that a `CRM_Core_SelectValues::groupContactStatus` callback is available, but this takes no arguments and is for display purposes only as far as I can tell.
  
  How do I use the `create` function to remove a specific contact from a group, or if that isn't possible, how do I use the API to remove a contact from a group?
  
  **Tags:** api, groups
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-01-12. Score: 2 | Accepted answer
  
  From using the API Explorer (**Support menu > Developer > API Explorer**) I can see that you can delete a GroupContact entity by specifying a GroupContact ID and a Group Contact Status of "Removed".
  
  I don't think that makes a lot of sense - even for a non-standard API such as GroupContact, since a Group Contact Status of "Removed" is NOT the same as a deleted contact.
  
  Note that my findings are at variance with [CRM-16878](https://issues.civicrm.org/jira/browse/CRM-16878), which covers the same topic.
  
  > **Comments:**
  > **username_0**: Hi Jon, I asked on #civicrm and Eileen gave me the same answer. Thanks for this!  
  
  ---
  
  