Igor R
Igor R

Reputation: 1

How to Insert users in Google Groups on Python

I cant found any documentation for my question. A just found: https://developers.google.com/admin-sdk/directory/v1/reference/members/insert

But it doesn't work for me, example:

group_result = service.groups()
                      .insert(body={
                         'groupKey': 'groupKeyOfMyGroup', # group key
                         'email': 'UserUserson.com' # user email who need to insert in google groups
                      })
                      .execute() 

credential.json generated, work correctly

Upvotes: 0

Views: 1190

Answers (0)

Related Questions