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
1 answer

Does Google Apps Email Migration API v2 support 2 legged oAuth1?

Does the Google Apps Email Migration API v2 support 2 legged oAuth1? I've looked at this answer, but I believe it refers to the older version of the Email Migration API: Does Google Apps Email Migration API support 2 legged oAuth? I have been able…
tdg5
  • 1,131
  • 7
  • 6
0
votes
2 answers

Google Apps Recovery Phone Number, what API?

I need to add phonenumbers to the users "recovery phone". Under Settings > Personal Info > I can add a recovery phone number. I have tried adding numbers thrue the Admin SDK API. phones: [ { "value": phoneValue, "type":…
user3432918
  • 131
  • 2
  • 14
0
votes
2 answers

How to get additional fields from Google groups API

I would like to list all groups on my google domain that has specific "type" (team,domain, etc.) when i use the groups.list() method using directory API i get all the groups. does anybody knows about a way to query by fields so the returned list…
0
votes
1 answer

Adding user to an account which has multiple subscriptions

If Google Apps account has multiple subscriptions and I'm creating a new user for the account, how can I know which subscription is used to create the user?
0
votes
1 answer

How Do I Retrieve a List of Users Who Has includeInGlobalAddressList set to false?

I am looking for a way to retrieve all of the users in my domain that have a value of includeInGlobalAddressList=false . Is there a way to do this via the API?
user1538393
  • 33
  • 1
  • 7
0
votes
1 answer

How to obtain a list of users using weak passwords in a Google Apps domain

In the online dashboard provided by Google a list of users using weak passwords can be seen (passwordmonitoring). This list is limited to +- 15 visible entries. One can scroll in this list but for follow-up of thousands of users this is not…
Cie6ohpa
  • 815
  • 1
  • 10
  • 13
0
votes
1 answer

Google API and Directory SDK : obtaining the number of groups per domain :HttpError("group")

I am trying to obtain the number of groups per user domain. So I first get the user domains from the Directory APi.Users and the primaryEmail field and then obtain the number of groups per domain. The first part of collecting domains gets the right…
MadeOfAir
  • 2,933
  • 5
  • 31
  • 39
0
votes
1 answer

How can I print server's response in Google Admin SDK?

I have written a PHP script that uses curl_seopt to send data to a server (www.googleapis.com/admin/directory/v1/users). Now I want to know what response did I get? Hopefully "200 OK". How can I print that response or some helpful information to…
sgp667
  • 1,797
  • 2
  • 20
  • 38
0
votes
1 answer

organizational units get list of enabled services

I'm looking for a way to retrieve a list of Google Apps enabled (disabled) services. The services I'm interested in are: Calendar, Contacts, Drive, Mail. When running a backup of these services I get errors when they are disabled. So my solution is…
0
votes
0 answers

Request addition of PUT and GET to Email Filter in Admin SDK

We have various business needs for retrieving and modifying user email filters. The most pressing need is when a user is on medical leave, and we're not allowed to contact the user legally. Sometimes a forward to another account is enough,…
RobL
  • 1
  • 1
0
votes
1 answer

Google Apps Reseller API daily usage limit is less than shown in developers console?

I started to test an application that use the Google Apps Reseller API and, after 1k requests, Google APIs started to send the error: { "code" : 403, "errors" : [ { "domain" : "usageLimits", "message" : "Daily Limit Exceeded", …
dudinha-dedalus
  • 284
  • 3
  • 13
0
votes
2 answers

Problems implementing service account with google-api-php-client

This seemed to fix itself... after an hour or so I hit F5 and it worked, I could see a list of book titles. So I copied the file and modified it in order to get a list of all users
0
votes
1 answer

Directory API moving an organization unit using google api for java to another organization unit

I am testing moving an organization unit from under one parent to another. Right now i have a following OUs: YourDomain.com -Middle Schools --Grade07 -Elementary Schools --Grade01 --Garde02 I want to move Grade 07 to Elementary School OU for…
Tom
  • 45
  • 8
0
votes
1 answer

Parsing Google GDEntry

I'm using python to retrieve email forwarding settings from my domain via the Google Admin SDK. Specifically I'm using the following: client =…
mjw
  • 11
  • 1
0
votes
1 answer

Google Groups - java API - Setting access level

Groups in google apps has access levels, under advanced group settings. Team, Announcement-Only, Restricted and Custom. Does anyone know how i can set these access levels in the java API for groups? I can't seem to find the available methods.
Tom
  • 45
  • 8