Update device
documentedUpdate device properties (owner, description, groups, etc.).
PUT /organizations/{org_id}/devices/{device_id}Devicesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://api.devicemagic.com/v1/organizations/{{$org_id}}/devices/{{$device_id}}' \
-X PUT \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{"name": "{{$name}}", "description": "{{$description}}", "custom_fields": {"asset_tag": "{{$asset_tag}}", "location": "{{$location}}"}}'