Update asset
documentedUpdate an existing asset.
POST /api_1.0/asset/{uuid}.jsonAssetsno 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.servicem8.com/api_1.0/asset/{{$uuid}}.json" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Api-Key: {{SERVICEM8_API_KEY}}" \
-d '{"name": "{{$name}}", "description": "{{$description}}", "asset_type_uuid": "{{$asset_type_uuid}}", "location": "{{$location}}", "barcode": "{{$barcode}}", "customfield_status": "{{$customfield_status}}"}'