I want use 'contactGroups.delete' by GAS I don't understand why it's an error
People.ContactGroups.delete({ "resourceName" : "contactGroups/8d49618c890eb1" });
error
TypeError: People.ContactGroups.delete is not a function
I want use 'contactGroups.delete' by GAS I don't understand why it's an error
People.ContactGroups.delete({ "resourceName" : "contactGroups/8d49618c890eb1" });
error
TypeError: People.ContactGroups.delete is not a function
Copyright © 2021 Jogjafile Inc.
When I saw the autocomplete of the script editor, it seems that
People.ContactGroups.remove(resourceName: string, optionalArgs: Object). Ref And, if yourresourceNameis the valid value, how about the following modification?deleteContacts, please use it likePeople.ContactGroups.remove("contactGroups/8d49618c890eb1", {deleteContacts: true});. Ref