Add and/or Remove Records from a List
PUT {{baseUrl}}/crm/v3/lists/:listId/memberships/add-and-remove
Add and/or remove records that have already been created in the system to and/or from a list.
This endpoint only works for lists that have a processingType
of MANUAL
or SNAPSHOT
.
Request Body
{"recordIdsToAdd"=>["<long>", "<long>"], "recordIdsToRemove"=>["<long>", "<long>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"recordIdsMissing":["\u003clong\u003e","\u003clong\u003e"],"recordIdsRemoved":["\u003clong\u003e","\u003clong\u003e"],"recordsIdsAdded":["\u003clong\u003e","\u003clong\u003e"]}