Obtain a Valid Access Token
This example shows how to use the POST/auth API operation to obtain a valid access token for use with the HyperFlex API. For more information on how to use this specific API, such as the API method, API parameters, and API request URL, see the HyperFlex REST API Explorer in the Obtain Access Token sub-category under the Authentication, Authorization and Accounting APIs top-level category:

Example procedure using the Postman API client:
- Set the method to POST.

- Set the URL based on the specific API call. For the /auth POST authentication operation to obtain and access the token, you will need to set the complete URL to https:///aaa/v1/auth?grant_type_password as seen below.

- Set the Authorization Type to No Auth.

- Under the Body tab, set the data type to raw and select JSON (application/json) from the drop-down to the right. Enter the body payload in the textbox.

- Click the Send button in the upper right corner. The response appears in the bottom pane. If successful, you will get a response which includes the new access token.
Example:
