Accessing the REST API using the ArubaOS-CX REST API Reference

CAUTION:

Although the ArubaOS-CX REST API Reference interacts directly with the REST API, the ArubaOS-CX REST API Reference is not intended as a management or configuration interface. Use caution when using the Submit button for POST or PUT methods because this action can result in changes to your current environment.

Prerequisites
  • HTTPS server access must be enabled on the VRF from which you are accessing the switch.

  • With a few exceptions, using the PUT, POST, or DELETE methods require the following conditions to be true:

    • The REST API access mode must be set to read-write.

    • The user name you use to log in must be a member of the administrators group.

Procedure
  • To view the reference documentation for the REST v10.04 API, open a browser at: https://<IP-ADDR>/api/v10.04/

    <IP-ADDR> is the IP address or hostname of your switch.

    For example: https://192.0.2.5/api/v10.04/

  • To open the reference for the REST v1 API, open a browser at: https://<IP-ADDR>/api/v1/ or at https://<IP-ADDR>/api/

    <IP-ADDR> is the IP address or hostname of your switch.

    For example: https://192.0.2.5/api/v1/