{"id":3688,"date":"2018-10-16T10:38:26","date_gmt":"2018-10-16T10:38:26","guid":{"rendered":"http:\/\/34.238.172.127\/?page_id=53"},"modified":"2021-11-15T10:20:42","modified_gmt":"2021-11-15T10:20:42","slug":"create-app-group","status":"publish","type":"page","link":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/app-groups\/create-app-group\/","title":{"rendered":"Create App Group"},"content":{"rendered":"<div class=\"method-copy\">\n<div class=\"method-copy-padding\">\n<h2> Create App Group <\/h2>\n<p>Create a group of apps.<\/p>\n<div class=\"table-responsive\">\n<table id=\"table_61516733\" width=\"100%\" class=\"table table-bordered\">\n<thead>\n<tr>\n<th width=\"15%\"> <strong>Argument<\/strong> <\/th>\n<th width=\"12%\"> <strong>Type<\/strong> <\/th>\n<th width=\"30%\"> <strong>Description<\/strong> <\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> name <\/td>\n<td> String <\/td>\n<td>Required. Name of the app group<\/td>\n<\/tr>\n<tr>\n<td> description <\/td>\n<td> String <\/td>\n<td>Optional<\/td>\n<\/tr>\n<tr>\n<td> apps <\/td>\n<td> Array <\/td>\n<td>Optional. IDs of the applications<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"method-example\">\n<div class=\"curl-text\">curl<\/div>\n<div class=\"code-curl code-div active-code\">\n<div class=\"method-example-part\">\nHTTP Request:<\/p>\n<pre class=\"lang:default decode:true\">POST https:\/\/<portal>.hexnodemdm.com\/api\/v1\/appgroups\/\r\nheaders:-\r\nAuthorization: <api key>\r\nContent-Type: application\/json\r\nSample Post Data:-\r\n[{\r\n\"name\":\"ios app catalogue\",\r\n\"description\":\"ios store free apps\",\r\n\"apps\":[153], \r\n}]\r\n<\/pre>\n<p>Shell Command:<\/p>\n<pre class=\"lang:default decode:true\">curl  -H \"Authorization: <your API key>\" -H \"Content-Type: application\/json\" -d '{  \"name\":\" ios apps \",\"description\":\"  ios store free apps \",\"apps\":[2,4,5]}'\r\nhttps:\/\/<portal>.hexnodemdm.com\/api\/v1\/appgroups\/ -X POST\r\n<\/pre>\n<\/div>\n<\/div>\n<div class=\"code-curl code-div active-code\">\n<div class=\"method-example-part\">\nHTTP Response:<\/p>\n<pre class=\"lang:default decode:true\">{\r\n\"id\": 1,\r\n\"name\": \"Ios apps\",\r\n\"description\": \"ios store free apps\",\r\n\"created_time\": \"2017-05-22T13:59:23.118Z\",\r\n\"apps\": [\r\n{\r\n\"id\": 2,\r\n\"name\": \"Google Chrome \u2013 The Fast and Secure Web Browser\",\r\n\"publisher\": \"Google, Inc.\",\r\n\"category\": \"Utilities\",\r\n\"price\": \"Free\",\r\n\"icon\": \"http:\/\/is5.mzstatic.com\/image\/thumb\/Purple91\/v4\/c1\/e9\/48\/c1e948b2-d0ad-feaa-4cea-fec3ead8c409\/source\/60x60bb.jpg\"\r\n},\r\n...\r\n]\r\n}\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Create App Group Create a group of apps. Argument Type Description name String Required. Name of the app group description String Optional apps Array Optional. IDs of the applications curl HTTP Request: POST https:\/\/.hexnodemdm.com\/api\/v1\/appgroups\/ headers:- Authorization: Content-Type: application\/json Sample Post Data:- [{ &#8220;name&#8221;:&#8221;ios app catalogue&#8221;, &#8220;description&#8221;:&#8221;ios store free apps&#8221;, &#8220;apps&#8221;:[153], }] Shell Command: curl -H [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3686,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-3688","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/comments?post=3688"}],"version-history":[{"count":5,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3688\/revisions"}],"predecessor-version":[{"id":4627,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3688\/revisions\/4627"}],"up":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3686"}],"wp:attachment":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/media?parent=3688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}