Update hardware
documentedUpdate an existing hardware asset.
PUT /hardwares/{id}.jsonHardwaresno 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.samanage.com/hardwares/{{$hardware_id}}.json" \
-X PUT \
-H "Accept: application/vnd.samanage.v1.1+json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"hardware": {"name": "{{$name}}", "asset_tag": "{{$asset_tag}}", "serial": "{{$serial}}", "model": {"id": {{$model_id}}}, "vendor": "{{$vendor}}"}}'