Team & Fleet›Replace a technician's buddies
Replace a technician's buddies
Overwrites the technician's buddy list with the provided set of technician IDs. Sending an empty list clears all buddies. Each buddy ID must be an active technician of the same business; a technician cannot be their own buddy.
Arguments
idstringpathrequired
Technician ID
buddy_idsarray<string>bodyoptional
Technician ids to set as this lead's buddies (max 50; self-buddy rejected).
PUT/v1/technicians/{id}/buddies
curl -X PUT "https://api.crisphive.com/v1/technicians/9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01/buddies" \ -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT" \ -H "Content-Type: application/json" \ -d '{ "buddy_ids": [ "9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01" ] }'
Request body
{
"buddy_ids": [
]
}
Bearer