Sign in

Create Asset Relationship

documented

Create a relationship for an asset.

POST /cmdb/items/[id]/associate.jsonAsset Relationshipsno 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://{{$domain}}.freshservice.com/cmdb/items/{{$id}}/associate.json" \
  -X POST \
  -u "{{FRESHSERVICE_API_KEY}}:X" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"type":"config_items", "type_id": {{$type_id}}, "relationship_type_id":"{{$relationship_type_id}}", "relationship_type":"{{$relationship_type}}"}'
Create Asset Relationship · Freshservice · OpenIntegrations