v1

latestOpenAPI 3.0.02026-07-14161138164.1 KB
Authentication

Create an auth token

<html><body> vRealize Network Insight supports token based authentication.Tokens are non-modifiable identifiers returned by the system when the user has successfully authenticated using valid credentials. Token expires after expiry time returned in the response. All API requests must provide the auth token in Authorization header in following format.<br> Authorization &#58; NetworkInsight {token} <br> If a token is invalid or expired, 401-Unauthorized error gets returned in the response of the API request. </body></html>
post/auth/token

Request body

passwordstring
usernamestring

Example request

{
  "domain": {
    "domain_type": "LDAP",
    "value": "example.com"
  },
  "password": "password",
  "username": "admin@vrni.com"
}

Response

Success

expiryinteger

expiry epoch time in secs.

tokenstring
All 161 operations