Skip to content

Update device inventory

Deprecated
PATCH
/api/devices/v1/inventory/device/attributes
curl --request PATCH \
--url https://example.com/api/devices/v1/inventory/device/attributes \
--header 'Authorization: Bearer <token>'

Device inventory update endpoint.

The device sends inventory attributes in the body: [ {“name”: “device_type”, “value”: “raspberrypi4”}, {“name”: “artifact_name”, “value”: “release-1.0”}, {“name”: “mac_address_eth0”, “value”: “00:11:22:33:44:55”}, … ]

This endpoint auto-registers devices if they don’t exist.

Successful Response

Media type application/json
Example generated
example