Sign in

Update asset

documented

Update an asset.

PUT /api/v2/assets/{id}Assetsno implementation yet0 runs
No 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 '{"display_name":"{{$display_name}}","description":"{{$description}}","asset_tag":"{{$asset_tag}}","serial_number":"{{$serial_number}}","purchased_on":"{{$purchased_on}}","cost":{{$cost}},"vendor":"{{$vendor}}","visibility":"{{$visibility}}","asset_type_id":{{$asset_type_id}},"location_id":{{$location_id}},"department_id":{{$department_id}},"managed_by_id":{{$managed_by_id}},"used_by_id":{{$used_by_id}},"notes":"{{$notes}}"}'