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?