As it says in the title…
I’m building a generic-use PowerShell wrapper for the Unity API, and I’d like to not have the user have to go look up their GSM code manually. Is there a way to query the API to retrieve the GSM code that is associated with the API Client credentials or with the User?
The quick answer is, no.
For security reasons, it’s not possible to lookup a Parent Keycode (GSM key) via the API. However, depending on the call, you can just use a site key to pull information from the API, but the vast majority of calls will require a Parent Key to identify the GSM.
Hope this helps,