List the resources in a resource group
GET/api/v1/ManagedResource/InGroup/:managedResourceGroupId
Returns a page of the resources that belong to one resource group, with their operating system, platform, service account and last scan time. Set showAll to also list hosts from a mapped organizational unit that are not yet onboarded.
Permission required: Administrator signed in with multifactor authentication, or an application account.
Values for onboardState: 0 = NotOnboard, 1 = Onboard, 2 = OnboardInGroup.
Values for manageAccount: 0 = Unmanaged, 1 = Managed.
Request
Responses
- 200
- 400
- 403
- 404
Returns an object with the page of resources in data and the total count in recordsTotal.
The resources could not be read.
The signed-in user does not have the required role.
The resource group does not exist.