Cancel a queued activity on a device
Cancel ONE activity still queued on a device — a pending software install or uninstall, or a queued script — identified by the uuid returned by getDeviceUpcomingActivities. Use this to clear an install that is wedged (a package install Fleet leaves in_progress for up to an hour after the device went offline) and unblock the activities queued behind it. This does not undo work already done on the device: an activity that already started or finished cannot be cancelled and returns a 404. Cancelling is visible to the person waiting on that install, so confirm with the user before calling it. The software row keeps its in_progress state until the device state is resynced, so call syncDeviceSoftware afterwards before re-reading getDeviceSoftware. To queue the install again, use installDeviceSoftware.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.