Hello,
I am trying to use the Push Message feature to delete a specific folder on my devices, but it does not seem to work.
I selected the message type deleteDir and used the following configuration:
Payload: {"path": "/storage/emulated/0/Documents/MyDir"}
The issue: After sending the push message, the device receives the command (I see the notification/log), but the directory /storage/emulated/0/Documents/MyDir is not deleted and remains on the storage.
Questions:
Is my JSON payload syntax correct for the deleteDir command?
Does the Headwind MDM agent require any specific permissions (like MANAGE_EXTERNAL_STORAGE for Android 11+) to perform this action?
Are there any specific logs I should check to debug why the deletion fails?
Environment:
Thank you for your help.