delete_wc

Document created by Gutis Champion on Dec 9, 2015
Version 1Show Document
  • View in full screen mode

SPEL API methods

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;
                 
2 people found this helpful

Attachments

    Outcomes