Login
This request creates a new Manager service session. The supported authentication methods are the following:
- with SSO credentials
{ "type": "ssoCredentials", "username": "ssoUser", "password": "ssoPass", "principal" : null }
- with SSO SAML token
{ "type": "ssoToken", "samlToken": "<saml2:Assertion xmlns:saml2=...>...</saml2:Assertion>", "timestamp": 1465194049081, "nonce": "jF845646gJzx734", "signature": "c2FtcGxlU2lnbmF0dXJlCg==", "principal" : null }
- OS root credentials:
{ "type": "localUser", "localUser": "root", "localPassword": "password" }
Operation ID for correlating logs across multiple services
{
"type": "ssoCredentials",
"username": "[email protected]",
"password": "mypassword"
}
OK
{
"roles": [
"EVERYONE"
],
"user": "[email protected]"
}
Roles granted to the session
The currently authenticated user
The returned error codes include (but are not limited to): NotAuthenticated
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
The returned error codes include (but are not limited to): GeneralServerFailure
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.