Menu
Post /crm/v3/associations/{from Object Type}/{to Object Type}/batch/archive Archive
Remove associations
POST
/crm/v3/associations/{fromObjectType}/{toObjectType}/batch/archiveUse it in a workflow
- Add a step and choose the HubSpot connector.
- Pick the Post /crm/v3/associations/{from Object Type}/{to Object Type}/batch/archive Archive action (under Associations).
- Fill in the fields below, then reference the result from later steps as
{{postCrmV3AssociationsFromObjectTypeToObjectTypeBatchArchiveArchive.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"inputs": [
{
"from": {
"id": "53628"
},
"to": {
"id": "12726"
},
"type": "contact_to_company"
}
]
}
Response
Returns 204 with a any. Read it in later steps with {{postCrmV3AssociationsFromObjectTypeToObjectTypeBatchArchiveArchive.response.data.<field>}}.
Need more? See the HubSpot guide for connection setup and behaviour shared by every action.
Was this page helpful?