How to add member in google group using google api | C2C Community
Question

How to add member in google group using google api

  • 21 December 2021
  • 6 replies
  • 225 views

i want to use google api so that i can be able to add members to a google groups. Please help me regarding this problem with authentication 


6 replies

Userlevel 7
Badge +65

Hi @Pratham9patel,

can you give us more details?

Are you working in a GCP project and you want to learn how to add members to the groups? Are you using the Workspace for that?

The more details the better.

I working on a gcloud project and i want to use google api in order to add an email into a group as a member. i have tried using workspace but wasn't able to as due to the authorization error and missing group key error. I have tried to read the documents but wasn't able to figure out how to do that.

Userlevel 7
Badge +65

Hi @Pratham9patel 

Have you checked the following links?

https://cloud.google.com/iam/docs/groups-in-cloud-console

https://cloud.google.com/iam/docs/granting-changing-revoking-access

https://support.google.com/cloudidentity/answer/9400082?hl=en

https://www.cloudsavvyit.com/4922/how-to-add-new-users-to-your-google-cloud-platform-projects/

yes i have went through few of those link. But i am not able to code this thing 

 

please look into it and help me how shall i be able to add the member to a user groups and what kind of permisision my credentials.json should have to access the api

 

Userlevel 7
Badge +65

I’m moving your question to the Cloud Infrastructure Group

Reply