Sign in

Update asset

documented

Updates the asset.

POST api/AssetAssetno 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://api.cayzu.com/api/Asset" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"asset_name": "{{$asset_name}}", "asset_category_id": {{$asset_category_id}}, "customer_domain": "{{$customer_domain}}", "contact_email": "{{$contact_email}}", "values": [ {"custom_field_name": "{{$custom_field_name_1}}", "value": "{{$custom_value_1}}"}, {"custom_field_name": "{{$custom_field_name_2}}", "value": "{{$custom_value_2}}"} ] }'