Saltar al contenido principal
PUT
/
crm
/
lists
/
2026-03
/
{listId}
/
memberships
/
add-and-remove
cURL
curl --request PUT \
  --url https://api.hubapi.com/crm/lists/2026-03/{listId}/memberships/add-and-remove \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "recordIdsToAdd": [
    "<string>"
  ],
  "recordIdsToRemove": [
    "<string>"
  ]
}
'
{
  "recordIdsMissing": [
    "<string>"
  ],
  "recordIdsRemoved": [
    "<string>"
  ],
  "recordsIdsAdded": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.es/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

listId
string
requerido

Cuerpo

application/json
recordIdsToAdd
string[]
requerido
recordIdsToRemove
string[]
requerido

Respuesta

successful operation

recordIdsMissing
string[]
requerido

Los ID de los registros identificados como "faltante" (por ejemplo, no existían en el portal) y, por lo tanto, no fueron "agregados" o "eliminados".

recordIdsRemoved
string[]
requerido

Los ID de los registros que fueron "eliminados" de la lista.

recordsIdsAdded
string[]
requerido
Last modified on April 14, 2026