List OU-mapped resource groups for a domain
GET/api/v1/ManagedResourceGroup/OuMapping/ByDomainConfigId/:domainConfigId
Returns a summary of the resource groups whose OU mapping points at the given domain. Use it to see which groups map to a domain, optionally only those that onboard resources automatically.
Permission required: Requires the Admin role, or an application account with the App role.
Request
Responses
- 200
- 400
- 401
- 403
A list of group summaries (id, name, ouMappingEnabled, ouFqdn, ouAutoOnboard, ouIncludeChildren and resources). resources lists only member resources that have a host, and ouDomainConfig is not filled in. Each resource has id, name, displayName, hostId, dnsHostName, hostDistinguishedName and hostObjectSid filled in; its other fields hold default values and should be ignored. The list is empty when no group maps to the domain.
The groups could not be retrieved. The body is the error text.
The request is not signed in.
The signed-in user does not have the required role.