Apache CloudStack 4.20.0.0 Root Admin API Reference

linkDomainToLdap

link an existing cloudstack domain to group or OU in ldap

Request parameters

Parameter NameDescriptionRequired
accounttypeType of the account to auto import. Specify 0 for user and 2 for domain admintrue
domainidThe id of the domain which has to be linked to LDAP.true
typetype of the ldap name. GROUP or OUtrue
admindomain admin username in LDAP false
ldapdomainname of the group or OU in LDAPfalse
namename of the group or OU in LDAPfalse

Response Tags

Response NameDescription
accountidDomain Admin accountId that is created
accounttypeType of the account to auto import
domainidid of the Domain which is linked to LDAP
ldapdomainname of the group or OU in LDAP which is linked to the domain
namename of the group or OU in LDAP which is linked to the domain
typetype of the name in LDAP which is linked to the domain