Create asset
documentedCreate a new asset.
POST /api/v2/assetsAssetsno 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?access_key={{MOJOHELPDESK_API_KEY}}" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"display_name": "{{$display_name}}", "description": "{{$description}}", "asset_tag": "{{$asset_tag}}", "serial_number": "{{$serial_number}}", "cost": {{$cost}}, "vendor": "{{$vendor}}", "purchased_on": "{{$purchased_on}}", "notes": "{{$notes}}"}'