APIs & Integrations

CDarji
Membro

Remove association between contact and companies

Hello,

 

I need help in removing  association between contact and companies using API.Contact screen of hubspot with multiple companies associationContact screen of hubspot with multiple companies associationRequest for remove associationRequest for remove association

 

I have one contact and it's association with multiple companies and i have try to remove association using API as per Delete CRM association but this is not working for me.(There is no error and API returns 204 as per API document)

 

I have attached all screenshots in  attachment pls see attachments.

 

I want to remove contact ketan from bothe the companies as menstioned in attach image. 

 

Please do the needful.

0 Avaliação positiva
2 Respostas 2
DStaat
Participante

Remove association between contact and companies

Hey @CDarji,

Have you tried using Associ8? It can automatically remove associations via workflow.

DStaat_1-1703094209813.png

 

 

 



I'll leave some documentation for the feature below if you want to see it in action:

- Remove Associations Automatically Using Labels 

Let me know if you have any questions!

Best,

-David Staat

0 Avaliação positiva
tominal
Orientador(a) | Parceiro
Orientador(a) | Parceiro

Remove association between contact and companies

Hey @CDarji,

 

I would try using the v3 or v4 Associations API. You may have more success with one of these endpoints.

 

v3 Documentation

https://developers.hubspot.com/docs/api/crm/associations/v3

  • DELETE /crm/v3/associations/{fromObjectType}/{toObjectType}/batch/archive

 

v4 Documentation

https://developers.hubspot.com/docs/api/crm/associations

  • DELETE /crm/v4/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}

 

Hope that helps!


Thomas Johnson
Community Champion


Kahu Software LLC
A Texan HubSpot consulting firm
https://kahusoftware.com
0 Avaliação positiva