Error 404: Resource Not Found: userKey - notFound

2,809 views
Skip to first unread message

Andy

unread,
Aug 17, 2015, 9:23:43 AM8/17/15
to Google Apps Manager

Hello, thanks for the continued service & updates for GAM, invaluable resource.


I have come back to GAM after not having to use it for a few months and have updated to GAM 3.51 today:


GAM 3.51 - http://git.io/gam

Jay Lee <jay...@gmail.com>

Python 2.7.10 64-bit final

google-api-python-client 1.4.1

Darwin-15.0.0-x86_64-i386-64bit x86_64

Path: /Users/andy/Google Drive/GoogleApps/gam/


I can get info on users without a problem, e.g.:


andy@AS-MBA-2:~/Google Drive/GoogleApps/gam$ gam info user firs...@domain.org.uk

User: firs...@domain.org.uk

First Name: First

Last Name: Last

Is a Super Admin: False

Is Delegated Admin: False

Has Agreed to Terms: True

IP Whitelisted: False

Account Suspended: False

Must Change Password: False

Google Unique ID: 113894677256941047600

Customer ID: C03tzhpgx

Mailbox is setup: True

Included in GAL: True

Creation Time: 2012-09-18T21:36:56.000Z

Last login time: 2013-03-26T15:35:06.000Z

Google Org Unit Path: /Pupils Year2 Venus

Custom Schemas:

Groups: (1)

  Year 2 Venus Class <year2...@domain.org.uk>

Licenses:


or:


andy@AS-MBA-2:~/Google Drive/GoogleApps/gam$ gam whatis firs...@domain.org.uk

firs...@domain.org.uk is a user


User: firs...@domain.org.uk

First Name: First

Last Name: Last

Is a Super Admin: False

Is Delegated Admin: False

Has Agreed to Terms: True

IP Whitelisted: False

Account Suspended: False

Must Change Password: False

Google Unique ID: 113894677256941047600

Customer ID: C03tzhpgx

Mailbox is setup: True

Included in GAL: True

Creation Time: 2012-09-18T21:36:56.000Z

Last login time: 2013-03-26T15:35:06.000Z

Google Org Unit Path: /Pupils Year2 Venus

Custom Schemas:

Groups: (1)

  Year 2 Venus Class <year2...@domain.org.uk>

Licenses:


But when I try and update or delete a user I get:


andy@AS-MBA-2:~/Google Drive/GoogleApps/gam$ gam delete user user_name=firs...@domain.org.uk

Deleting account for user_name=firs...@domain.org.uk

Error 404: Resource Not Found: userKey - notFound


Any ideas for fixing?


Many thanks in advance,


Andy

Jay Lee

unread,
Aug 17, 2015, 9:26:28 AM8/17/15
to Google Apps Manager
Delete syntax should be:

gam delete user firs...@domain.org.uk

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/99d3c938-ebe9-49d4-8ab2-1b8352960e60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Jay Lee

Andy

unread,
Aug 17, 2015, 10:22:35 AM8/17/15
to Google Apps Manager
Doh! How stupid I feel...thanks for the correction...

andy@AS-MBA-2:~/Google Drive/GoogleApps/gam$ gam delete user user_name=firstlast@domain.org.uk

Deleting account for user_name=firstlast@domain.org.uk

Reply all
Reply to author
Forward
0 new messages