Skip to main content
DELETE
Calls off the device’s in-flight assignment, freeing it to be given another one. Use this when firmware was assigned by mistake, or when a device has been sitting on an update it never installed. Returns the assignment, now cancelled.
Cancelling cannot recall an update the device already holds. If the returned assignment has a delivered_at, the device was handed the update before you cancelled and may still install it — check Get Device OTA Status after its next heartbeat.

Authentication

Requires an API key with devices:write scope.

Path Parameters

string
required
The device’s unique identifier (e.g., dev_abc123).

Notes

  • Both in-flight states can be cancelled — pending and delivered. Both block a new assignment, so cancelling only pending would leave a device that never installed its update stuck behind a 409 with no way out.
  • An assignment that already reached applied, failed or cancelled is not in flight, so there is nothing to call off and the request is a 404.
  • The cancelled assignment stays in the device’s history.