delete_wc
provided by cdtj
This method allows to delete objects that meets defined criteria
Definition:
delete_wc(string, string, object|nil ) ;
string - factory name
string - search criteria
object|nil - NULL
working example:
uuid cnt_id;
cnt_id = "<SOME CONTACT UUID HERE>";
send_wait(0, top_object(), "call_attr", "api", "delete_wc", "grpmem", format("member=U'%s'", (uuid)cnt_id), NULL); // remove membership of cnt_id from all groups;