Edge Devices

Decommission a device

Changed on

Retires the device immediately: removes its arenas and facility, revokes its API token, marks open footage requests lost and aborts in-flight deployments. A background job then deletes its Cloudflare tunnel and DNS record and decommissions it in Mender. Tailscale is not touched; remove the node manually. Calling this again while that cleanup is unfinished re-enqueues it.

post/v1/edge/devices/{id}/decommission

Request

  • Base URL
    https://api.hify.club
  • Auth
    API key in header X-User-Token

Response

Device decommissioned, or already decommissioned with cleanup unfinished; external cleanup enqueued

idinteger
mender_device_idstring nullable
mac_addressstring nullable
status'pending' | 'accepted' | 'rejected' | 'preauthorized' | 'noauth' | 'decommissioned'
facility_idinteger nullable
mender_attributesobject
upload_mode'continuous' | 'on_demand'
preview_generation_enabledboolean
archive_diskboolean
decommissioned_atstring date-time nullable
arenasobject[]
facilityobject nullable
created_atstring date-time
updated_atstring date-time

Changes