Apache CloudStack 4.23.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 |
| ldapdomain | Name of the GROUP or OU in LDAP | true |
| type | Type of the ldap name. GROUP or OU | true |
| admin | Domain admin username 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 linked to the domain |