Settings/AD/LDAP/OAuth Operations
PUTAD/LDAP/OAuth OperationsSince 0.6SynchronousAuth Required
LogInByLdap
LogInByLdap
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
loginbyldapObjectRequiredloginbyldap request body object.
uidStringRequiredThe LDAP UID.
passwordStringRequiredThe password.
captchaUuidStringOptional. The verification code UUID.
verifyCodeStringOptional. The verification code.
clientInfoMapOptional. The client information.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/ldap/login
/zstack/v1/ldap/login
Request Example
curl -X PUT 'http://{host}/zstack/v1/ldap/login' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"loginbyldap":{"uid":"<uid>","password":"<password>","captchaUuid":"<captchaUuid>","verifyCode":"<verifyCode>","clientInfo":{}},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "2ce3cd4b2e5c441699edc09e612e916c", "accountUuid": "27df0ac39afd42eab643dfb1d448252b", "expiredDate": "Jun 7, 2017 9:20:34 PM" "noSessionEvaluation": false }, "accountInventory": { "uuid": "243382994e2643c18f5f5ec69305d866", "name": "test", "type": "Normal" } }Change History
This API has no change history records yet.
