Logging in and logging out using the ArubaOS-CX REST API Reference
Prerequisites
Access to the switch REST API must be enabled.
You must have used a supported browser to access the switch at:
https://<IP-ADDR>/api/
<IP-ADDR>
is the IP address or hostname of your switch.
Procedure