Documentation is now available for the Fall 2020 Update release!

Get agent count by OS name

This endpoint is used to retrieve the number of installed agent resources by OS name.

Leave Feedback

URL

GET https://{api-url}/api/v2/tenants/{tenantId}/agents/{osName}/resourcesCountByOSName

Sample URL

https://{api-url}/api/v2/tenants/client_4/agents/Ubuntu 18.04.3 LTS/resourcesCountByOSName

Header format

HeaderValue
AuthorizationBearer {accessToken}
Content-typeapplication/json
Acceptapplication/json

Status code

200 OK

Parameters

All fields are mandatory unless specified otherwise.

Caption for Table
PropertyValueDescription
OSNameStringExample: Ubuntu 18.04.3 LTS, CentOs

Sample response

{
    "Ubuntu 18.04.3 LTS": 2
}