put
https://{youraccountname}.api-us1.com/api/3/contactDeals/
Update an existing secondary contact on a deal: the contact it links, the deal it links to, and the contact's role on that deal. Only the properties present in the request change. Changing contact removes the previous contact's score values for the deal and logs the change on the deal. Changing deal moves the link only: neither deal records an activity and the previous deal keeps its score values. Changing role is recorded as a deal activity. 404 if no secondary contact has this id; 422 if contact or deal is emptied or names a record that does not exist. Needs the deals permission.
To update a secondary contact, the user should have permission to manage deals.
{
"contactDeal": {
"contact": 4,
"deal": 1,
"role": 1
}
}