Questions tagged [google-admin-sdk]

Use for questions about using APIs and services that are part of the Google (G Suite) Admin SDK, platform for developers that write applications to manage G Suite domains, migrate from and integrate with existing IT infrastructure, create users, update settings, audit activity, and more.

About

The Google (G Suite) Admin SDK allows developers to write applications to manage Google Apps domains, migrate from and integrate with existing IT infrastructure, create users, update settings, audit activity, and more.

Use for questions

About APIs and services that are part of the G Suite Admin SDK

Do not use for questions

About general interaction with Google APIs, use instead.

Admin SDK APIs

: Admin Settings API
: Alert Center API
: Directory API
: Domain Shared Contacts API
: Email Audit API
: Enterprise License Manager API
: Groups Migration API
: Groups Settings API
: GSuite Email Audit API
: GSuite Reseller API (former Enterprise Apps Reseller API)
: Reports API

Deprecated APIs

  1. Email Migration API on November 1, 2015
  2. Email Settings API on October 16, 2019
1554 questions
0
votes
0 answers

Google admin sdk returns only 5000 user in one domain

I am trying to retrieve all users in a domain using the google apps admin sdk. I have 10000+ users in that domain. However every time I send a request it returns only 5000 users. After the first 5000 users are returned, the request resets and I…
user2676491
  • 3,701
  • 3
  • 17
  • 13
0
votes
1 answer

Google Admin SDK deleting all phone numbers for a user

Using the admin sdk is it possible to delete all the phone numbers for a particular user using the C# library? I wish to delete all the phone numbers a user has i.e work, work_fax and work_mobile. Thanks.
Jon
  • 3
  • 2
0
votes
2 answers

Google Admin SDK throws bad request java client

I am trying to use the admin SDK using the java client. My requirement is for a server side application to manage the users without the explicit consent of the end user. I have followd the following steps. I have create a service account is the…
0
votes
1 answer

Collecting data from Google Apps users' spreadsheets programmatically

We have a number of Google Apps users, each of them has a non-public spreadsheet named 'XData' in their GDrive account. The Google Apps admin needs to be able to do the following: Click one button that would collect specified data from users'…
0
votes
1 answer

Google Apps API - get subscription details

I'm writing an utility to email an alert when: a Google Apps domain's number of users approaches the subscription limit a Google Apps domain's subscription is coming up for renewal I found the data for point 1 in the Admin Settings API in fields…
0
votes
3 answers

Google directory api org unit error 404

I'm calling the get, update and delete APIs for org unit through Google .net client library but get 404. I used Fiddler and saw that the request URL is malformed. Rather than my org unit path I see {/orgUnitPath*} string in the URL and customer Id…
0
votes
1 answer

What is User Rate Exceeded Exception.?

I am using the admin sdk. I am retrieving 100 users per request using java. https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#get_all_domain_users Directory directoryService = getDirectoryService(adminEmailAddress); …
RBP
  • 481
  • 1
  • 9
  • 29
0
votes
2 answers

Error with GoogleCredentials and Directory in google-admin-sdk

I'm trying to access google admin-directory API to create, delete or remove users as administrator. I'm trying to develop an application that allows to update or delete a user. I tried to take two paths. In the first way, I used the code shown:…
0
votes
1 answer

Email migration and multidomain account

I'm using the Google data Python client library to import emails into my users account. If this is working fine for users in the primary domain, I get an error for users in a separate domain. from gdata.apps.migration import service user =…
Spack
  • 464
  • 4
  • 22
0
votes
1 answer

returned "Insufficient Permission"

class DirectoryV1Handler(webapp2.RequestHandler): @decorator.oauth_required def get(self): https = httplib2.Http() https = decorator.credentials.authorize(https) #service = build('directory', 'v1', http=https) service =…
0
votes
1 answer

Is there a way to get reporting on Google Voice usage?

Is there a way I can leverage the Google APIs to get a report on Google Voice usage in my domain? We just turned it on and wanted to see if any of our users were using the service.
user1538393
  • 33
  • 1
  • 7
0
votes
1 answer

How to get etag in google Admin SDK results?

Does anyone knows how I can easily retrieve etag headers if I use google admin SDK in Java. I mostly using directory API. But for some reason object returned do not give Etag information. This can be very handy to avoid retrieving some information…
Sem
  • 3
  • 2
0
votes
1 answer

Google Apps integration with Ruby on Rails

I have a RoR app that other companies use for their Google Apps account. Is there a gem or other way to pull the company's user data, e.g. pull a list of all their employee names and email addresses. How can I do this?
Geoff
  • 9,470
  • 13
  • 52
  • 67
0
votes
1 answer

Directory Groups: Reseller account always gets groups for reseller rather than customer

According to the Directory API Prerequisites, resellers should be able to perform API calls against their customer's Google Apps instance (except for mobile and chrome device calls). This is done by specifying the customer's customerId attribute…
Jay Lee
  • 13,415
  • 3
  • 28
  • 59
0
votes
3 answers

Directory API: delete member API operation fails for non-Google accounts

We are noticing that group members cannot be removed using the new Directory API if they are not Google accounts. We've tested this with both Dito GAM (note I am the author of GAM) and the Google API Explorer. The operation functions correctly if…
Jay Lee
  • 13,415
  • 3
  • 28
  • 59
1 2 3
99
100