Category Filter

Deploy File

This API request creates a deploy-file action to copy file(s) to a destination path on targeted devices or users.
Prerequisite: Before deploying a file, it must be fully uploaded and cataloged on the server. This involves Generate Presigned Upload URL, uploading the file via the Amazon S3 URL, and confirming it via Verify File Upload.
Note: This API is only supported on macOS and Android platforms.

Argument Type Description
file_ids Array IDs of the files to deploy (must be active and exist)
file_path String Destination path on the device (leading / added if missing)
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: