Problem creating associate with a custom object

SOLVE
kaleperez
Participant

Hi,

 

I created a wrong association between my custom object to the deal. I have to create an association but in the other way, the "deal" to the "custom object". How can I delete this existing association?. When I tried to use "https://api.hubapi.com/crm-associations/v1/associations/delete?hapikey=" I don't have the definitionId value and it's requiered.

 

Another question, how can I know the "objectid" for the deal and contact object?

 

Thanks,

 

0 Upvotes
1 Accepted solution

Accepted Solutions
Kevin-C
Solution
Recognized Expert
Hey kaleperez

“Associations are always two-way (i.e., if record A is associated to record B, record B is also associated to record A) and can be seen in each record in the right panel.”
See this doc:
https://knowledge.hubspot.com/crm-setup/associate-records

When you navigate to a contact or deal via the UI the last number in the URL is the ID.

View solution in original post

1 Reply 1
Kevin-C
Solution
Recognized Expert
Hey kaleperez

“Associations are always two-way (i.e., if record A is associated to record B, record B is also associated to record A) and can be seen in each record in the right panel.”
See this doc:
https://knowledge.hubspot.com/crm-setup/associate-records

When you navigate to a contact or deal via the UI the last number in the URL is the ID.

View solution in original post