My guess would be that if you add in your JSON:
"notify": true,
"notify_to": "email",
that there will be an e-mail notification. But haven't tried.
------------------------------
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.
------------------------------
Original Message:
Sent: Jul 08, 2024 05:46 PM
From: bcarreno
Subject: I can't create a guest user through the Aruba Central API.
Hi,
I hope you are well.
I have been testing with the example you provided, and it was successful. Thank you very much for your help.
Now, I have a question: With that body, will I be able to send a notification to the user?
Regards,
Original Message:
Sent: Jul 03, 2024 11:02 AM
From: Herman Robers
Subject: I can't create a guest user through the Aruba Central API.
You should just enter the fields that you want to fill (or are mandatory, like name). This example works for me:
{ "name": "via-api3@arubadomain.com", "user": { "phone": null, "email": "via-api@arubaarubadomain.com" }, "is_enabled": true, "valid_till_days": 1, "password": "secret-passwd123"}
When I tried to create a duplicate user, where the "name" fielf exists already, I also get the 500 error.
Hopefully this sample will get you started...
------------------------------
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.