From 2860ae02a2f4edbb6320ac17d5fa9ab5bd6b640f Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Fri, 26 Jun 2026 19:26:16 -0700 Subject: [PATCH] Update Users-People-Contacts-Profiles.md --- wiki/Users-People-Contacts-Profiles.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wiki/Users-People-Contacts-Profiles.md b/wiki/Users-People-Contacts-Profiles.md index d6c768aa..e5687232 100644 --- a/wiki/Users-People-Contacts-Profiles.md +++ b/wiki/Users-People-Contacts-Profiles.md @@ -535,6 +535,14 @@ User: user@domain.com, Delete maximum of 15 Other Contacts User: user@domain.com, Other Contact: otherContacts/c6318452176100245073, Deleted ``` +Bulk delete Other Contacts + +Let's suppose you have a CSV file (OtherContacts.csv) with at least these two headers: User,resourceName +The file can contain multiple users and their other contacts. This is the most API effecient way to delete the contacts. +``` +gam redirect stdout ./DeleteOtherContacts.txt redirect stderr stdout csvkmd users OtherContacts.csv keyfield User datafield resourceName delete othercontacts csvdata resourceName +``` + ## Display User Other Contacts ### Display as an indented list of keys and values. ```