Transfer Ownership
POST/api/v1/device-registry/devices/:device_id/transfer-ownership
Hand a unit to a new owner. Super Admin only in V1 (§5a-iii).
Self-service is deferred rather than forgotten: "I sold it" is a way to launder a stolen unit, so the flow needs a two-sided consent handshake the data model already supports and the product does not yet have.
Three consequences worth knowing before calling it: the unit is
force-unbound, its credential is rotated — so it cannot reconnect
until the returned secret reaches it — and its preferences are cleared.
lifecycle_status is untouched, because who holds a unit is not what makes
it trusted.
Request
Responses
- 200
- 422
Successful Response
Validation Error