Basic

PUT /crm/lists/2026-03/{listId}/memberships/add-and-remove

Changed on

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/crm/lists/2026-03/{listId}/memberships/add-and-remove
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Path parameters

listIdstring required

Request body

recordIdsToAddstring[] required
recordIdsToRemovestring[] required

Response

successful operation

recordIdsMissingstring[] required

The IDs of the records that were missing (e.g. did not exist in the portal) and so were not added or removed.

recordIdsRemovedstring[] required

The IDs of the records that were removed from the list.

recordsIdsAddedstring[] required

Changes

    • info

      api operation id put-/crm/lists/2026-03/{listId}/memberships/add-and-remove_/crm/lists/v3/{listId}/memberships/add-and-remove removed and replaced with put-/crm/lists/2026-03/{listId}/memberships/add-and-remove

    • info

      the security scope cms.membership.access_groups.write was added to the endpoint's security scheme private_apps

    • info

      the security scope crm.lists.write was removed from the endpoint's security scheme private_apps

    • info

      the security scope cms.membership.access_groups.write was added to the endpoint's security scheme private_apps

    • info

      the security scope crm.lists.write was removed from the endpoint's security scheme private_apps

Some revisions have not been checked yet.