Request package actions on a device
POST/v1/device/:deviceUid/package/action
Requests installs, uninstalls and starts in one call. Each item is accepted or fails on its own. An accepted item only means the command was sent to the device. Its result is in the device action log: keep requesting its actionLogUrl, which is GET /v1/device/{deviceUid}/action-log/{actionUid}, until the action is processed. Commands are sent in the order of the items, but the device may complete them in any order, so an item must not depend on an earlier item of the same request (for example start right after install of the same package). Every action needs the PackagesManagement entitlement, except installing a build of the device's own Cloud Control or Front package, which is part of the device settings. Cloud Control and Front cannot be uninstalled.
Request
Responses
- 200
- 400
- 404
Result of every requested item
Bad request
Not Found