Delete Specific Labels

POST {{baseUrl}}/crm/v4/associations/:fromObjectType/:toObjectType/batch/labels/archive

Batch delete specific association labels for objects. Deleting an unlabeled association will also delete all labeled associations between those two objects

Request Body

{"inputs"=>[{"from"=>{"id"=>"<string>"}, "to"=>{"id"=>"<string>"}, "types"=>[{"associationCategory"=>"HUBSPOT_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"USER_DEFINED", "associationTypeId"=>"<integer>"}]}, {"from"=>{"id"=>"<string>"}, "to"=>{"id"=>"<string>"}, "types"=>[{"associationCategory"=>"INTEGRATOR_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"HUBSPOT_DEFINED", "associationTypeId"=>"<integer>"}]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring