guestmanager API documentation

  • 1
  • Question
  • Updated 3 years ago
Is there any documentation available for Guestmanager and API stuff?  We want to be able to automate changing of the guest password every day/week.
Photo of wombat

wombat

  • 62 Posts
  • 3 Reply Likes

Posted 3 years ago

  • 1
Photo of Roberto Casula

Roberto Casula, Champ

  • 231 Posts
  • 111 Reply Likes
Do you mean ID Manager rather than Guest Manager? If so, then yes. It is linked to ("REST API Guide") at the very bottom of the page in the ID Manager online help in letters so small that you need a scanning electron microscope to see them.

The link currently points here, but this may change as the API is updated.

I've already written a Windows command-line application (in C#) which automates the generation of a new single generic "guest" user password (PPSK) for a customer that needed it (they just run it once a week using Windows Task Scheduler). It was pretty straight forward.
Photo of wombat

wombat

  • 62 Posts
  • 3 Reply Likes
I actually meant Guestmanager
Photo of Roberto Casula

Roberto Casula, Champ

  • 231 Posts
  • 111 Reply Likes
Ah :)

As I'm sure you know, GuestManager was not written by Aerohive, it was an OEM of Amigopod that Aerohive extended to support PPSK and was discontinued as an Aerohive product quite some time ago now and will finally go completely end-of-life/end-of-support in February next year.

I can't find any API guide for it on Aerohive's website any more, so your best bet would probably be here.
Photo of wombat

wombat

  • 62 Posts
  • 3 Reply Likes
yep, been there.  Unfortunately, not being very versed in this sort of thing, I need a exact example and howto to craft this API.  The docs are almost there, but not quite.

:-)
Photo of wombat

wombat

  • 62 Posts
  • 3 Reply Likes
Can this API for IDManager be used to change the password for a guest account, that is being used on an open ssid?  Looking through the doc, it appears not.
Photo of Roberto Casula

Roberto Casula, Champ

  • 231 Posts
  • 111 Reply Likes
Yes. In fact, the code I've written that I mentioned in my earlier post is actually for a username/password credential rather than a PPSK as I originally said. The RenewCredential call is what you need to use. It generates a new password for a "username/password" user or a new PPSK for a PPSK user as appropriate, as well as extending the expiry date of the account as per the parameters in the guest type.