Category Filter
Add/Remove Apps
Add/remove applications to/from an app group.
Argument | Type | Description |
---|---|---|
add_apps | Integer array | Required. An array of app IDs |
remove_apps | Integer array | Required. An array of app IDs |
Note: If add_apps and remove_apps contain the same IDs, then those IDs will be added to the group.
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 |
POST https://<portal>.hexnodemdm.com/api/v1/appgroups/{APPGROUP_ID}/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "add_apps":[1,2,3], "remove_apps":[4], }] |
Shell Command:
1 |
curl -H "Authorization:<your API key>" -H "Content-Type: application/json" -d '{ "add_apps":[1,2,3],"remove_apps":[4]}' https://<portal>.hexnodemdm.com/api/v1/appgroups/{APPGROUP_ID}/ |
HTTP Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
{ "id":1, "name": "ios apps", "description":" "ios free apps", "apps":[ { "id": 1, "name": "Google Chrome – The Fast and Secure Web Browser", "publisher": "Google, Inc.", "category": "Utilities", "price": "Free", "icon": "http://is5.mzstatic.com/image/thumb/Purple91/v4/c1/e9/48/c1e948b2-d0ad-feaa-4cea-fec3ead8c409/source/60x60bb.jpg" }, ... ] } |