Getting an authorization token using RSdoc

  1. Open a browser at https://SDN_CONTROLLER_ADDRESS:8443/api, where SDN_CONTROLLER_ADDRESS is the IP address for your controller.

  2. Click /auth, then click POST.

    The /auth API is displayed.

  3. For the login parameter, use JSON encoding to enter a domain, user name, and password.

    This example uses the default values for user, password, and domain:

    {"login":{"user":"sdn","password":"skyline","domain":"sdn"}}
  4. Click Try it out!

    A value is displayed in Response Body.

    For an example, see Getting an authentication token using RSdoc .

  5. Without including the quotation marks, copy the value displayed for Token.

    Getting an authentication token using RSdoc