Endpoint
/api/v2/tenants/{tenantId}/policies/management/search
Path Parameters
tenantIdstring
Query Parameters
namestring
Device management policy name.
Responses
OK
[
{
"actions": [
{
"action": "ASSIGN MONITORINGTEMPLATE",
"forceAssignOrUnassign": false,
"items": [
{
"instances": {},
"item": "4053",
"parameters": {
"Data Bytes": "64",
"Packet Count": "3",
"Packet interval": "1000"
}
}
]
},
{
"action": "ASSIGN KNOWLEDGEARTICLE",
"forceAssignOrUnassign": true,
"items": [
{
"item": "7188"
}
]
}
],
"executionOrder": 0,
"id": 210,
"matchType": "ALL",
"name": "test-Mysql-policyWeb",
"resourceType": "DEVICE",
"rules": [
{
"id": 155833,
"isNativeAttribute": true,
"key": "Name",
"operator": "Contains",
"value": "mysql"
}
]
},
{
"actions": [
{
"action": "Assign Jobs",
"forceAssignOrUnassign": true,
"items": [
{
"item": "asset info",
"itemType": "assetinfo",
"itemUid": "c072cd67-779a-4206-a3d9-7c761fd563d8"
}
]
},
{
"action": "Assign Availability Rule",
"items": [
{
"item": "AND"
}
]
}
],
"executionOrder": 0,
"id": 209,
"matchType": "ALL",
"name": "test-Mysql-policy-Web",
"resourceType": "DEVICE",
"rules": [
{
"id": 155863,
"isNativeAttribute": true,
"key": "Name",
"operator": "Contains",
"value": "mysql"
}
]
},
{
"actions": [
{
"action": "ASSIGN CREDENTIALSET",
"forceAssignOrUnassign": true,
"items": [
{
"item": "36218"
}
]
},
{
"action": "ASSIGN CUSTOMATTRIBUTES",
"forceAssignOrUnassign": true,
"items": [
{
"item": "264313"
}
]
}
],
"executionOrder": 0,
"id": 205,
"matchType": "ALL",
"name": "test-Mysql-policy-Web-name",
"resourceType": "DEVICE",
"rules": [
{
"id": 154833,
"isNativeAttribute": true,
"key": "Name",
"operator": "Contains",
"value": "mysql"
}
]
}
]