Category Filter

Remove File

This API request creates a remote action, so targeted devices delete listed file paths from their local storage. This is generally used to clean up files that were previously distributed to devices (files that went through the Generate Presigned Upload URL, Upload to Amazon S3, Verify File Upload, and Deploy File lifecycle).
Note: This API is only supported on macOS and Android platforms.

Argument Type Description
file_paths Array Destination path or path/filename to be removed
users Array IDs of the users
usergroups Array IDs of the user groups
devices Array IDs of the devices
devicegroups Array IDs of the device groups

(Note: At least one of users, usergroups, devices, or devicegroups must be non-empty).

curl

HTTP Request:

Shell Command:

HTTP Response: