Cosmic 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
namename of the group or OU in LDAPtrue
typetype of the ldap name. GROUP or OUtrue
admindomain admin username in LDAP false

Response Tags

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