Reputation: 1263
Is it possible to get Google Account Email from the API Project ID? We are using the project id in one of our projects but I am not able to remember the account it was created with?
Upvotes: 7
Views: 2930
Reputation: 7866
Try using the IAM commands in the Cloud SDK to see who currently is listed as a user/owner:
gcloud projects get-iam-policy <your-project-id>
That will return a list of current project members. It may not be the original owner, but this will let you know who all has access :)
Hope this helps!
Upvotes: 4