Passer au contenu principal
POST
/
crm
/
v4
/
associations
/
{fromObjectType}
/
{toObjectType}
/
batch
/
archive
Supprimer les associations
curl --request POST \
  --url https://api.hubapi.com/crm/v4/associations/{fromObjectType}/{toObjectType}/batch/archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "from": {
        "id": "<string>"
      },
      "to": [
        {
          "id": "<string>"
        }
      ]
    }
  ]
}
'
This response has no body data.

Supported products

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Paramètres de chemin

fromObjectType
string
requis

Spécifie le type de l'objet source dans la suppression groupée d'associations.

toObjectType
string
requis

Spécifie le type de l'objet cible dans la suppression d'associations par lots.

Corps

application/json
inputs
object[]
requis

Réponse

Last modified on April 13, 2026