{"id":3687,"date":"2018-10-16T10:38:26","date_gmt":"2018-10-16T10:38:26","guid":{"rendered":"http:\/\/34.238.172.127\/?page_id=52"},"modified":"2021-11-15T10:20:16","modified_gmt":"2021-11-15T10:20:16","slug":"list-app-groups","status":"publish","type":"page","link":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/app-groups\/list-app-groups\/","title":{"rendered":"List App Groups"},"content":{"rendered":"<div class=\"method-copy\">\n<div class=\"method-copy-padding\">\n<h2> List App Groups <\/h2>\n<p>Returns a list of all app groups.<\/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>Parameter<\/strong> <\/th>\n<th width=\"12%\"> <strong>Type<\/strong> <\/th>\n<th width=\"30%\"> <strong>Description<\/strong> <\/th>\n<th width=\"15%\"> <strong>Default value<\/strong> <\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> order_by <\/td>\n<td> String <\/td>\n<td> Optional. Order the result by app group name. Use <strong>asc<\/strong> or <strong>desc<\/strong> <\/td>\n<td>asc<\/td>\n<\/tr>\n<tr>\n<td> page <\/td>\n<td> Integer <\/td>\n<td>Optional<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td> per_page <\/td>\n<td> Integer <\/td>\n<td>Optional<\/td>\n<td>100<\/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\">GET https:\/\/<portal>.hexnodemdm.com\/api\/v1\/appgroups\/  \r\nAuthorization: <api key>\r\nContent-Type: application\/json\r\nSample Post Data:-\r\n{[\r\n\"order_by\":\"asc\",\r\n\"page\":1,\r\n\"per_page\":50,\r\n}]\r\n<\/pre>\n<p>Shell Command:<\/p>\n<pre class=\"lang:default decode:true\">curl -H \"Authorization: <your API key>\" https:\/\/<portal>.hexnodemdm.com\/api\/v1\/appgroups\/\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\"count\": 2,\r\n\"next\": null,\r\n\"previous\": null,\r\n\"results\": [\r\n{\r\n\"id\": 1,\r\n\"name\": \"app group1\",\r\n\"description\": \"hello\",\r\n\"created_time\": \"2017-05-22T13:59:23.118Z\",\r\n\"apps_count\": 3\r\n},\r\n...\r\n]\r\n}\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>List App Groups Returns a list of all app groups. Parameter Type Description Default value order_by String Optional. Order the result by app group name. Use asc or desc asc page Integer Optional 1 per_page Integer Optional 100 curl HTTP Request: GET https:\/\/.hexnodemdm.com\/api\/v1\/appgroups\/ Authorization: Content-Type: application\/json Sample Post Data:- {[ &#8220;order_by&#8221;:&#8221;asc&#8221;, &#8220;page&#8221;:1, &#8220;per_page&#8221;:50, }] Shell [&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-3687","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3687","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=3687"}],"version-history":[{"count":5,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3687\/revisions"}],"predecessor-version":[{"id":4625,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3687\/revisions\/4625"}],"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=3687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}