Sign in

Swap asset definition

documented

Associate a different asset definition with an existing asset.

PUT /asset/{assetId}/definitionAssetno 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.servicetrade.com/api/asset/{{$assetId}}/definition" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Cookie: PHPSESSID={{SERVICETRADE_AUTH_TOKEN}}" \
  -d '{"type": "{{$type}}", "properties": {{$properties}}}'
Swap asset definition · ServiceTrade · OpenIntegrations