Endpoint
/api/v2/tenants/{tenantId}/agentPolicies/{policyId}/devices
Path Parameters
tenantId
string

Describes the uuid of the tenant

policyId
string

Agent policy uuid to apply

id
string

[
  {
    "id": "042761ba-542e-4a7a-8e38-3ebbea7eeb16"
  },
  {
    "id": "023471da-698b-3a2e-1e93-6dbaca8eea23"
  },
  {
    "id": "855eb82e-3064-40a1-a26e-77efabe300da"
  }
]

Responses

OK

failedCount
integer

failedEntities
object

failedEntities.entityID
successCount
integer

{
  "failedCount": 1,
  "failedEntities": {
    "023471da-698b-3a2e-1e93-6dbaca8eea23": "No device 023471da-698b-3a2e-1e93-6dbaca8eea23 found under client client_5"
  },
  "successCount": 2
}