Is there any way to query the Unity API for the GSM Key Code associated with the Api Client or User?

  • 12 November 2020
  • 1 reply
  • 574 views

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?


1 reply

Userlevel 3
Badge +8

Hi @LyricalUser,

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,

Nick

Reply