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": "06f15e116b8b8125ca46c884",
"userRefs": [
"e2344841da05d9f8b86627e8"
]
}
Response
{
"listRemoveUsers": {
"_id": "5166aaea284711de10d8f333",
"id": 3353424457651,
"title": "example",
"description": "example",
"created": 1740788825575,
"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. |