Apps

Attribute

app_id
long
A unique identifier for the app
app_name
string
Name of the app
app_category
string
Category of the app
app_type
integer
App type:
  1. Free Store App
  2. Paid Store App
  3. Enterprise App
version
string
Version of the app
platform_type
integer
The platform for which the app is available:
  1. iOS
  2. Android
  3. Windows
description
string
A custom description of the app
icon
string
A link for the icon image (if available)
added_time
long
Time when the app was added to the MDM server
modified_time
long
Time when the app was last modified
release_labels
array
The app version details
Show Sub-Attributes arrow
release_label_type
integer
Determines the version of the app
  1. Stable
  2. Beta
release_label_name
string
Specifies whether the app version is Stable or Beta
release_label_id
long
ID to denote whether the app version is Stable or Beta (Example To create release lable id)
app_version
string
The version of the App

Example

[ { "app_id": 99731238129, "app_name": "ME MDM", "app_category": "Education", "app_type": 2, "version": "1.1.1", "platform_type": 2, "description": "The is an enterprise app", "icon": "https://mdm.manageengine.eu/mdm-logo.png", "added_time": 192031023091, "modified_time": 192831120931, "release_labels": [ { "release_label_type": 1, "release_label_name": "Stable", "release_label_id": 12345, "app_version": "12.3.45" } ] } ]

Get App List

Get a list of apps available in the App Repository on the MDM server.
oauthscope : MDMOnDemand.MDMDeviceMgmt.READ

GET - /api/v1/mdm/apps

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v1/mdm/apps", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
curl --request GET \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

HTTP/1.1 200 Read
{ "apps": [ { "app_id": 99731238129, "app_name": "ME MDM", "app_category": "Education", "app_type": 2, "version": "1.1.1", "platform_type": 2, "description": "The is an enterprise app", "icon": "https://mdm.manageengine.eu/mdm-logo.png", "added_time": 192031023091, "modified_time": 192831120931, "release_labels": [ { "release_label_type": 1, "release_label_name": "Stable", "release_label_id": 12345, "app_version": "12.3.45" } ] } ] }

Add an app to MDM server

Add either a Store app or enterprise app to the MDM Server
oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE

POST - /api/v1/mdm/apps

Arguments

app_name
string
(Required)
Name of the app
app_type
integer
(Required)
App type:
  1. Free Store App
  2. Paid Store App
  3. Enterprise App
app_file
long
(Required)
File ID of the app package file uploaded to MDM using Files endpoint (Required for enterprise apps only)
app_category_id
integer
(Required)
Identifier for the app category
supported_devices
integer
(Required)
Supported Devices
  1. Smartphone
  2. Tablet
  3. Both Smartphone and tablet
release_label_id
long
(Required)
ID to denote whether the app version is Stable or Beta (Example To create release lable id)
display_image
long
File ID of the image uploaded to MDM using Files endpoint (Used for app icon)
description
string
A custom description of the app
app_store_country_code
string
Country code for the App Store (iOS Only)
bundle_identifier
string
App's bundle identifier
prevent_backup
boolean
Prevent app data backup during device backup.
full_image
long
File ID of the image uploaded to MDM using Files endpoint (Used for app icon)

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/api/v1/mdm/apps", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
curl --request POST \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "app_name": "ME MDM", "app_type": 2, "app_file": 91273987129, "app_category_id": 2, "supported_devices": 3, "release_label_id": 12345, "display_image": 91273987129, "description": "The is an enterprise app", "app_store_country_code": "US", "bundle_identifier": "com.manageengine.mdm.iosagent", "prevent_backup": false, "full_image": 91273987129 }

Response Example

HTTP/1.1 200 Create
{ "app_id": 99731238129, "app_name": "ME MDM", "app_category": "Education", "app_type": 2, "bundle_identifier": "com.manageengine.mdm.iosagent", "version": "1.1.1", "platform_type": 2, "description": "The is an enterprise app", "icon": "https://mdm.manageengine.eu/mdm-logo.png", "store_url": "https://www.zylker.com/app/manageengine-mdm/id720111835?mt=8", "is_app_paid": false, "country_code": "US", "store_id": "720111835", "added_time": 192031023091, "modified_time": 192831120931 }

Get App Details

Get details of a particular app
oauthscope : MDMOnDemand.MDMDeviceMgmt.READ

GET - /api/v1/mdm/apps/{app_id}

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/api/v1/mdm/apps/99731238129/labels/987000000654321", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/labels/987000000654321") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
curl --request GET \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/labels/987000000654321 \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

HTTP/1.1 200 Read
{ "app_id": 99731238129, "app_name": "ME MDM", "app_category": "Education", "app_type": 2, "bundle_identifier": "com.manageengine.mdm.iosagent", "version": "1.1.1", "platform_type": 2, "description": "The is an enterprise app", "icon": "https://mdm.manageengine.eu/mdm-logo.png", "store_url": "https://www.zylker.com/app/manageengine-mdm/id720111835?mt=8", "is_app_paid": false, "country_code": "US", "store_id": "720111835", "added_time": 192031023091, "modified_time": 192831120931, "release_labels": [ { "release_label_type": 1, "release_label_name": "Stable", "release_label_id": 12345, "app_version": "12.3.45" } ] }

Create app channel

Used for maintaining multiple versions of enterprise apps. Different versions will be mapped to different label ids. If not present app will be added in default stable channel.
oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE

POST - /api/v1/mdm/labels

Arguments

channel_name
string
(Required)
Channel name for lable

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/api/v1/mdm/labels", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/labels") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
curl --request POST \ --url https://www.mdm.manageengine.eu/api/v1/mdm/labels \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "channel_name": "Production" }

Response Example

HTTP/1.1 200 Create
{ "release_label_id": 12345 }

Associate an app to a devices

Associate an app to a particular devices
oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE

POST - /apps/{app_id}/labels/{release_label_id}/devices

Arguments

device_ids
array
(Required)
List of device IDs
silent_install
boolean
To allow silent installation of the app. Enter 'False' for manual installation from App Catalog.
notify_user_via_email
boolean
Notify users by e-mail upon distributing the app

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/apps/99731238129/labels/12345/devices", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/apps/99731238129/labels/12345/devices") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
curl --request POST \ --url https://www.mdm.manageengine.eu/apps/99731238129/labels/12345/devices \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "device_ids": [ 1, 2, 3 ], "silent_install": true, "notify_user_via_email": true }

Response Example

HTTP/1.1 202 Accepted

Associate an app to a Groups

Associate an app to a particular Groups
oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE

POST - /apps/{app_id}/labels/{release_label_id}/groups

Arguments

group_ids
array
(Required)
List of Group IDs
silent_install
boolean
To allow silent installation of the app. Enter 'False' for manual installation from App Catalog.
notify_user_via_email
boolean
Notify users by e-mail upon distributing the app

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/apps/99731238129/labels/12345/groups", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/apps/99731238129/labels/12345/groups") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
curl --request POST \ --url https://www.mdm.manageengine.eu/apps/99731238129/labels/12345/groups \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "group_ids": [ 1, 2, 3 ], "silent_install": true, "notify_user_via_email": true }

Response Example

HTTP/1.1 202 Accepted

Update an app

Update an app available in the App Repository on the MDM server also update app details in the specific label and to update an app version in the specific label.
(To get app id and release lable id)
oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE

PUT - /api/v1/mdm/apps/{app_id}/labels/{release_label_id}

Arguments

platform_type
integer
The platform for which the app is available:
  1. iOS
  2. Android
  3. Windows
app_type
integer
App type:
  1. Free Store App
  2. Paid Store App
  3. Enterprise App
app_category_id
integer
Identifier for the app category
app_name
string
Name of the app
bundle_identifier
string
App's bundle identifier
app_version
string
The version of the App
supported_devices
integer
Supported Devices
  1. Smartphone
  2. Tablet
  3. Both Smartphone and tablet
description
string
A custom description of the app
remove_app_with_profile
boolean
Applicable for IOS store Apps. Needed only for IOS Apps
prevent_backup
boolean
Prevent app data backup during device backup.
app_file
long
File ID of the app package file uploaded to MDM using Files endpoint (Required for enterprise apps only)
force_update_in_label
boolean
Must be set true if app details is updated in specific label or to update the app version in the specific label which already has an app. This key has to be set as false for adding the app version as separate in different label.

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/api/v1/mdm/apps/99731238129/labels/12345", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/labels/12345") .put(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
curl --request PUT \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/labels/12345 \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "platform_type": 2, "app_type": 2, "app_category_id": 2, "app_name": "ME MDM", "bundle_identifier": "com.manageengine.mdm.iosagent", "app_version": "12.3.45", "supported_devices": 3, "description": "The is an enterprise app", "remove_app_with_profile": true, "prevent_backup": false, "app_file": 91273987129, "force_update_in_label": true }

Response Example

HTTP/1.1 200 Create
{ "app_distributed_devices_count": 100, "app_type": 2, "is_multiple_app_version_available": true, "supported_devices": 3, "is_downgrade_available": true, "is_for_all_customers": true, "profile_name": "ME MDM", "platform_type": 2, "app_version_code": "10822", "release_label_id": 12345, "app_distributed_group_count": 10, "app_id": 99731238129, "app_category_name": "Productivity", "app_group_id": 988272732423, "version": "1.1.1", "remove_app_with_profile": true, "country_code": "US", "release_label_display_name": "Beta", "added_time": 192031023091, "icon": "https://mdm.manageengine.eu/mdm-logo.png", "description": "The is an enterprise app", "app_category_id": 2, "is_delete_applicable": false, "store_url": "https://www.zylker.com/app/manageengine-mdm/id720111835?mt=8", "app_file": 91273987129, "modified_time": 192831120931, "bundle_identifier": "com.manageengine.mdm.iosagent", "store_id": "720111835", "app_title": "ME MDM", "is_paid_app": false, "private_app": 0, "app_name": "ME MDM", "prevent_backup": false, "is_distributable": true, "is_purchased_from_portal": false, "release_labels": [ { "release_label_type": 1, "release_label_name": "Stable", "release_label_id": 12345, "app_version": "12.3.45" } ] }

Approve app version

End point to approve app version.
oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE

POST - /api/v1/mdm/apps/{app_id}/labels/{release_lable_id}/approve

Arguments

silent_install
boolean
(Required)
To allow silent installation of the app. Enter 'False' for manual installation from App Catalog.
retire_old_version
boolean
(Required)
Need to have the old version of app. If false we will remove the old versions
notify_user_via_email
boolean
(Required)
Notify users by e-mail upon distributing the app
version_label
string
Channel name for lable
distribute_update
boolean
True if the approved version has to be distributed to all the devices/groups which has older versions approved

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/api/v1/mdm/apps/99731238129/labels/987000000654321/approve", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/labels/987000000654321/approve") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
curl --request POST \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/labels/987000000654321/approve \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "silent_install": true, "retire_old_version": false, "notify_user_via_email": true, "version_label": "Production", "distribute_update": true }

Response Example

HTTP/1.1 204 No Content

Disassociate an app from a device

Disassociate an app from a particular device
oauthscope : MDMOnDemand.MDMDeviceMgmt.DELETE

DELETE - /api/v1/mdm/apps/{app_id}/devices/{device_id}

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/api/v1/mdm/apps/99731238129/devices/987000000654321", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/devices/987000000654321") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
curl --request DELETE \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/devices/987000000654321 \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

HTTP/1.1 204 No Content

Disassociate an app from a Group

Disassociate an app from a Group
oauthscope : MDMOnDemand.MDMDeviceMgmt.DELETE

DELETE - /api/v1/mdm/apps/{app_id}/groups/{group_id}

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/api/v1/mdm/apps/99731238129/groups/987000000654321", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/groups/987000000654321") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
curl --request DELETE \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/groups/987000000654321 \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

HTTP/1.1 204 No Content

Delete an existing app

Delete an existing app from the MDM App Repository
oauthscope : MDMOnDemand.MDMDeviceMgmt.DELETE

DELETE - /api/v1/mdm/apps/{app_id}

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/api/v1/mdm/apps/99731238129", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
curl --request DELETE \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129 \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

HTTP/1.1 204 No Content

Delete app specific version

End point to delete specific app version.
Approved app version cannot be deleted (Example to change approved version)

oauthscope : MDMOnDemand.MDMDeviceMgmt.DELETE

DELETE - /api/v1/mdm/apps/{app_id}/labels/{release_lable_id}/delete

Request Example

Click to copy
import http.client conn = http.client.HTTPSConnection("www.mdm.manageengine.eu") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/api/v1/mdm/apps/99731238129/labels/987000000654321/delete", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/labels/987000000654321/delete") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
curl --request DELETE \ --url https://www.mdm.manageengine.eu/api/v1/mdm/apps/99731238129/labels/987000000654321/delete \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

HTTP/1.1 204 No Content