NSX-T Data Center REST API
Authenticate and create a session
Authenticates using the given username and password. If successful, the HTTP response headers will contain a Set-Cookie header and an X-XSRF-TOKEN header. Both of these headers should be sent with subsequent API requests.Request:
Method:
POST
URI Path(s):
/api/session/create
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SessionAuthenticationCredentials+
Example Request:
Content-Type: application/x-www-form-urlencoded j_username=admin&j_password=my-passwordSuccessful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a