Update asset
documentedUpdate an existing asset.
PUT /api/v2/assets/{id}Assetsno 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://app.mojohelpdesk.com/api/v2/assets/{{$id}}?access_key={{MOJOHELPDESK_API_KEY}}" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"asset_tag": "{{$asset_tag}}", "display_name": "{{$display_name}}", "description": "{{$description}}", "cost": {{$cost}}, "vendor": "{{$vendor}}", "visibility": "{{$visibility}}", "purchased_on": "{{$purchased_on}}", "asset_type_id": {{$asset_type_id}}, "location_id": {{$location_id}}}'