Category Filter
Clear App Data
Clear app data on Android devices enrolled in the Android Enterprise program and Samsung Knox devices.
Argument | Type | Description |
---|---|---|
users | Array | Optional. IDs of the users. |
usergroups | Array | Optional. IDs of the user groups. |
devices | Array | Optional. IDs of the devices. |
devicegroups | Array | Optional. IDs of the device groups. |
apps | Array | Required. IDs of the apps for which the data needs to be cleared. |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 10 11 12 |
POST https://<portal>.hexnodemdm.com/api/v1/actions/clear_app_data/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "users":[0], "usergroups":[4], "devices":[5,6], "devicegroups":[12], "apps": [15], }] |
Shell Command:
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{"users":[0],"usergroups":[4],"devices":[5,6],"devicegroups":[12],"apps":[15]}' https://<portal>.hexnodemdm.com/api/v1/actions/clear_app_data/ |
HTTP Response:
1 |
HTTP/1.1 200 ok |