listRemoveUsers Mutation
Description
Removes buyers from a customer list. Buyers who have opted out are not removed. The list member count is automatically updated after removing buyers.
mutation listRemoveUsers($listRef: ID!, $userRefs: [ID!]!) {
listRemoveUsers(listRef: $listRef, userRefs: $userRefs) {
_id
id
title
description
created
count
system
}
}
Variables
{
"listRef": "66dccab5601978934631b5ad",
"userRefs": [
"ea9020d5e06be340bd9d658a"
]
}
Response
{
"listRemoveUsers": {
"_id": "854f4a8b76aed58395208bc4",
"id": 676449016126,
"title": "example",
"description": "example",
"created": 1763051233151,
"count": 10,
"system": true
}
}
Arguments
| Name | Type | Description |
|---|---|---|
listRef | ID! | Reference ID of the customer list to remove buyers from. |
userRefs | [ID!]! | List of buyer reference IDs to remove from the customer list. |