Network Management

 View Only
last person joined: yesterday 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

Aruba Central REST API create multiple guest users

This thread has been viewed 9 times
  • 1.  Aruba Central REST API create multiple guest users

    Posted Mar 14, 2024 09:34 AM

    Hi,

    I would like to create multiple guest users via REST API within one single workflow.

    I got managed to create single users, but don't know to create multiple users. Is that even possible?

    I am using Postman with Aruba central collection. Postman says "end of file expected".

    Best regards



  • 2.  RE: Aruba Central REST API create multiple guest users

    EMPLOYEE
    Posted Mar 15, 2024 04:53 AM

    From the documentation, you can just create (or delete) one visitor/guest per API call:

    Also, in JSON you can't just concatenate multiple JSONs like you do (. { json1 }{ json2 } ); it would be more like [ { json1 },{ json2 } ]; but I'd expect it still not to work as the documentation only shows the model for a single guest user. With some python (or other) script, it's trivial to split up your accounts to multiple API calls with one account at a time.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------