APIs & Integrations

ebp
Participant

Delete Association Label via APIs

SOLVE

Hi,  
There is no problem to add label association via the PUT of the V4 association API but there is if you want to only delete this label one.

The DELETE action says "deletes all associations between two records." but not only one specific.

Do I understand that if i want to delete only the label association, i have to delete all and add the one i want ?

Thanks

1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Delete Association Label via APIs

SOLVE

@ebp 

What happens if you do a new put request with just the labels you want to use

View solution in original post

3 Replies 3
ebp
Participant

Delete Association Label via APIs

SOLVE

Hi, 

It does the job but it is not trivial.

I have to get all associations i want only to delete the one i don't.

Thanks

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Delete Association Label via APIs

SOLVE

@ebp ,

I do not disagree with you.

I would suggest creating an idea and posting the idea link on this thread for anyone else looking for this functionality to upvote it.

0 Upvotes
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Delete Association Label via APIs

SOLVE

@ebp 

What happens if you do a new put request with just the labels you want to use