{"id":3702,"date":"2018-10-16T10:38:26","date_gmt":"2018-10-16T10:38:26","guid":{"rendered":"http:\/\/34.238.172.127\/?page_id=69"},"modified":"2021-11-15T10:32:14","modified_gmt":"2021-11-15T10:32:14","slug":"uninstall-applications","status":"publish","type":"page","link":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/actions\/uninstall-applications\/","title":{"rendered":"Uninstall Applications"},"content":{"rendered":"<div class=\"method-copy\">\n<div class=\"method-copy-padding\">\n<h2> Uninstall Applications <\/h2>\n<p>Remove applications from the devices.<\/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>apps<\/td>\n<td> Array <\/td>\n<td>IDs of the apps to be removed<\/td>\n<\/tr>\n<tr>\n<td>user<\/td>\n<td> Array <\/td>\n<td>IDs of the users<\/td>\n<\/tr>\n<tr>\n<td>usergroup<\/td>\n<td> Array <\/td>\n<td>IDs of the user groups<\/td>\n<\/tr>\n<tr>\n<td>device<\/td>\n<td> Array <\/td>\n<td>IDs of the devices<\/td>\n<\/tr>\n<tr>\n<td>devicegroup<\/td>\n<td> Array <\/td>\n<td>IDs of the device groups<\/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\/actions\/uninstall_applications\/\r\nheaders:-\r\nAuthorization: <api key>\r\nContent-Type: application\/json\r\nSample Post Data:-\r\n[{\r\n\"apps\":[15],\r\n\"users\":[0],\r\n\"usergroups\":[4],\r\n\"devices\":[5,6],\r\n\"devicegroups\":[12],\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 '{\"apps\":[15],\"users\":[0],\"usergroups\":[4],\"devices\":[5,6],\"devicegroups\":[12]}'  https:\/\/<portal>.hexnodemdm.com\/api\/v1\/actions\/uninstall_applications\/\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\">HTTP\/1.1 200 ok\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Uninstall Applications Remove applications from the devices. Argument Type Description apps Array IDs of the apps to be removed user Array IDs of the users usergroup Array IDs of the user groups device Array IDs of the devices devicegroup Array IDs of the device groups curl HTTP Request: POST https:\/\/.hexnodemdm.com\/api\/v1\/actions\/uninstall_applications\/ headers:- Authorization: Content-Type: application\/json Sample [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3698,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-3702","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3702","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=3702"}],"version-history":[{"count":4,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3702\/revisions"}],"predecessor-version":[{"id":4637,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3702\/revisions\/4637"}],"up":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/pages\/3698"}],"wp:attachment":[{"href":"https:\/\/www.hexnode.com\/mobile-device-management\/developers\/wp-json\/wp\/v2\/media?parent=3702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}