younifyd
Menu

Post /crm/v3/associations/{from Object Type}/{to Object Type}/batch/archive Archive

Remove associations

POST/crm/v3/associations/{fromObjectType}/{toObjectType}/batch/archive

Use it in a workflow

  1. Add a step and choose the HubSpot connector.
  2. Pick the Post /crm/v3/associations/{from Object Type}/{to Object Type}/batch/archive Archive action (under Associations).
  3. Fill in the fields below, then reference the result from later steps as {{postCrmV3AssociationsFromObjectTypeToObjectTypeBatchArchiveArchive.response.data}}.

Request

Path parameters

fromObjectTypestringrequired
toObjectTypestringrequired

Request body

Enter the body as JSON in the step's Body field.

inputsarray<object>required
fromobjectrequired1 fields

Contains the Id of a Public Object

toobjectrequired1 fields

Contains the Id of a Public Object

typestringrequired
json
{
  "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.

Post /crm/v3/associations/{from Object Type}/{to Object Type}/batch/archive Archive — HubSpot — Documentation