Team & Fleet›Replace a buddy's leaders (buddy side)
Replace a buddy's leaders (buddy side)
Sets the full set of leads this buddy belongs to (many-to-many favorites). Replace-semantics — lead_ids is the complete new list; [] clears every leader. Managed by business staff.
Arguments
idstringpathrequired
Buddy technician ID
lead_idsarray<string>bodyoptional
Lead technician ids this buddy assists (max 50).
PUT/v1/technicians/{id}/leads
curl -X PUT "https://api.crisphive.com/v1/technicians/9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01/leads" \ -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT" \ -H "Content-Type: application/json" \ -d '{ "lead_ids": [ "9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01" ] }'
Request body
{
"lead_ids": [
]
}
Bearer