Login
Creates a new C4 session. The supported authentication methods are:
- with SSO credentials
{ "type": "ssoCredentials", "username": "ssoUser", "password": "ssoPass" }
- with SSO SAML token
{ "type": "ssoToken", "samlToken": "<saml2:Assertion xmlns:saml2=...>...</saml2:Assertion>", "timestamp": 1465194049081, "nonce": "jF845646gJzx734", "signature": "c2FtcGxlU2lnbmF0dXJlCg==", "principal" : null }
- with vCloud Director credentials
{ "type": "vcdCredentials", "vcdUser": "admin1@org2", "vcdPassword": "password" }
- with vCloud Director auth cookie:
{ "type": "vcdCookie", "vcdCookie": "f12977876fef48a6b032ffdb2cdf22d7" }
- OS root credentials:
{ "type": "localUser", "localUser": "root", "localPassword": "password" }
Operation ID for correlating logs across multiple services
type
OK
{
"authenticatedSites": [
{
"org": "Org1",
"site": "site1"
}
],
"roles": [
"EVERYONE"
],
"user": "admin1@Org1"
}
vCloud Director sites the current session has authenticated with. The site specified in the request should be present here
Roles granted to the session
The currently authenticated user
Returned error codes include (but are not limited to):
- NotAuthenticated
{
"args": [
"string"
],
"code": "string",
"msg": "string",
"stacktrace": "string"
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
Returned error codes include (but are not limited to):
- GeneralServerFailure
{
"args": [
"string"
],
"code": "string",
"msg": "string",
"stacktrace": "string"
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.