0
我正在嘗試用service.users().update
更新用戶。它返回一個200響應,但不改變任何東西。使用python更新google應用用戶
results2 = service.users().update(
userKey='116908937914240107065',
fields='id,name/fullName,primaryEmail',
body='{"primaryEmail":"[email protected]"}'
).execute()
print('id: {0} | Email: {1} | Nome: {2}'.format(results2['id'],results2['primaryEmail'], results2['name']['fullName']))
也許谷歌中的錯誤? –