Skip to content

Import enrolled devices as assets

POST
/v1/assets/sync-hosts
curl --request POST \
--url https://api.varman.io/v1/assets/sync-hosts \
--header 'X-API-Key: <X-API-Key>'

Adds every enrolled device of the organization as a hardware asset owned by the device user. Devices imported before get their name and model refreshed. Returns imported, updated and unchanged counts.

X-Organization-Id
string