Category Filter
Update App Catalogs
Update an app catalog.
Argument | Type | Description |
---|---|---|
name | String | Required. Name of the app group |
description | String | Required. Description for the group |
apps | Integer array | Optional. IDs of the applications |
app_groups | Integer array | Optional. IDs of the app group |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 10 11 |
PUT https://.hexnodemdm.com/api/v1//appcatalogues/{APPCATALOG_ID}/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "name": "ios apps", "description":"ios free apps", "apps":[153], "app_groups":[1], }] |
Shell Command:
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{ "name": "ios apps","description":"ios free apps", "apps":[153],"app_groups":[1]}' https://<portal>.hexnodemdm.com/api/v1//appcatalogues/{APPCATALOG_ID}/ -X PUT |
HTTP Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
{ "id": 1, "name": " ios apps ", "description": "ios store free apps", "created_time": "2017-05-22T13:59:23.118Z", "apps": [ { "id": 153, "name": "Angry", "publisher": "Rovio Entertainment Ltd", "category": "Entertainment", "price": "Free", "icon": "http://is5.mzstatic.com/image/thumb/Purple82/v4/88/95/cd/8895cd2f-e532-3792-2b95-3a949a916cf1/source/60x60bb.jpg" }, ... ], "app_groups": [ { "id": 1, "name": "ios app group", "description": "hello", "created_time": "2017-05-22T13:59:23.118Z", "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" }, ... ] } ] } |