Vault hold delete HoldItem and MatterItem do not exist

153 views
Skip to first unread message

Phil Youngman-Jang

unread,
Aug 23, 2022, 10:55:41 AM8/23/22
to google-ap...@googlegroups.com
Hey everyone, im trying to delete vault holds (legal holds) utilizing the command below, 
gam delete vaulthold|hold <HoldItem> matter <MatterItem>
gam delete vaulthold|hold <MatterItem> <HoldItem>
However, when I run the command

gam print holds todrive
I get a list with the following as the top columns

matterIdmatterNameholdIdnameaccountsaccounts.0.accountIdaccounts.0.emailaccounts.0.firstNameaccounts.0.holdTimeaccounts.0.lastNamecorpusquery.driveQueryquery.mailQuery.endTimeupdateTime


Whenever i use MatterID or HoldID as the MatterItem or HoldItem, i get *does not exist* 

ERROR: Vault Matter: MatterID, Does not exist




Can anyone help me to find out where the <MatterItem> <HoldItem> comes from ? kinda stuck here, and have about 400+ holds 

Thanks 

Jay Lee

unread,
Aug 23, 2022, 11:06:50 AM8/23/22
to google-ap...@googlegroups.com
By default GAM tried to delete the hold/matter by name, not Id. If you know the exact id you wish to delete them prefix it with id: to tell GAM the value is an id, not a name.

Jay

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAEPAZH%3DzPQkbr5Ho8U7pC51wWaoiydXjhV2qLz_p_S4KeAzLmw%40mail.gmail.com.

Phil Youngman-Jang

unread,
Aug 23, 2022, 1:27:38 PM8/23/22
to GAM for Google Workspace
Can you give me the correct verbiage for the command, i have tried all but none work 

Phil Youngman-Jang

unread,
Aug 23, 2022, 1:33:30 PM8/23/22
to google-ap...@googlegroups.com
image.png

You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/WqjfvGL0PQI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/7f0b896a-de15-4dc3-86d4-c562e90cc192n%40googlegroups.com.

Ross Scroggs

unread,
Aug 23, 2022, 2:14:18 PM8/23/22
to google-ap...@googlegroups.com
Phil,

gam delete vaulthold id:1234 matter id:5678

Replace 1234 with the holdId and 5678 with the matterId

Ross



--
Reply all
Reply to author
Forward
0 new messages