Hello,
I'm using GAM few years and usually, all is clear to me. That group is very helpful and always I have found good solutions here. Right now I'm struggling with Google API by my script. It's kind of outside a GAM. But somehow GAM does it properly.
When I run "gam print devices" command I see all devices: mobile and endpoint from Google (Macbook for example). I have checked all scopes from my GAM config, but I can not find the correct one for that.
That 3 are not for PC's, I think:
In Google Doc. I found that one:
But that one doesn't show devices. When I tried I think the correct one I got that error:
"You are receiving this error either because your input OAuth2 scope name is invalid or it refers to a newer scope that is outside the domain of this legacy API.
This API was built at a time when the scope name format was not yet standardized. This is no longer the case and all valid scope names (both old and new) are catalogued at
https://developers.google.com/identity/protocols/oauth2/scopes. Use that webpage to lookup (manually) the scope name associated with the API you are trying to call and use it to craft your OAuth2 request."
But any of the scopes from ^ list helps me. Could somebody tell me what scope GAM uses for that command? How get a list of all devices APPROVED in Google by python/ruby/curl/postman scripts?
Thank you so much for your help and answer.
Best,
Rafal