Cosmic 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 |
name | 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 | uuid of the Domain which is linked to LDAP |
ldapenabled | Is LDAP enabled |
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 |