Apache CloudStack 4.15.0.0 Root Admin API Reference
					
                                        
                                        
                                    
                                linkDomainToLdap
link an existing cloudstack domain to group or OU in ldap
Request parameters
| Parameter Name | Description | Required | 
| accounttype | Type of the account to auto import. Specify 0 for user and 2 for domain admin | true | 
| domainid | The id of the domain which has to be linked to LDAP. | true | 
| type | type of the ldap name. GROUP or OU | true | 
| admin | domain admin username in LDAP | false | 
| ldapdomain | name of the group or OU in LDAP | false | 
| name | name of the group or OU in LDAP | false | 
Response Tags
| Response Name | Description | 
| accountid | Domain Admin accountId that is created | 
| accounttype | Type of the account to auto import | 
| domainid | id of the Domain which is linked to LDAP | 
| ldapdomain | name of the group or OU in LDAP which is linked to the domain | 
| name | name of the group or OU in LDAP which is linked to the domain | 
| type | type of the name in LDAP which is linke to the domain |