Use this endpoint to bulk remove users from a custom list.
API at a glance
Description: This API removes multiple users from a custom user list in a single request. Maximum 25 users per API call.
Authentication & testing
Testing the API on this page
How to try it here
- Use your User API Key as the Username (leave Password blank).
- Select the appropriate API endpoint based on your Blueshift region.
- Enter the necessary parameters and click Try It to run the request.


Authentication using Base64 encoding
Note for developers
API requests require authentication using HTTP Basic Authentication with an API key.
The API key serves as the username, while the password field should be left empty.
The format to encode is: your_api_key: (note the trailing colon).
This string must be Base64-encoded and included in the request's Authorization header as follows:
Authorization: Basic encoded_valueYou can generate the encoded value using a trusted Base64 encoder.
Postman collection
Try it with Postman: Explore the API using Blueshift's Postman collection.
Things to know before you start
- List ID required: Obtain the list ID from the Create empty list response or from the Blueshift dashboard.
You can find the list ID in the URL when viewing a custom user list in the Blueshift app. For example, if you open a custom user list in the Blueshift app, its URL looks like https://app.getblueshift.com/dashboard#/app/custom_list/<LIST_ID>/edit.

- Batch limit: Maximum 25 users per API call.
- Identifier types: Use
emailorcustomer_idto identify users.
Finding the customer UUID > >You can find the customer UUID in the URL when viewing a customer profile in the Blueshift app. For example, if you open a customer profile in the Blueshift app, its URL looks like
https://app.getblueshift.com/dashboard#/app/customer/<CUSTOMER_UUID>/show/overview.
- Use case: Best for removing multiple users from custom lists, bulk list updates, and managing targeted audience segments.
Request parameters
Check out the request parameters
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_id | integer | ✅ Yes | ID of the list to remove users from. |
Body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
identifier_key | string | ✅ Yes | Identifier type: email or customer_id. |
identifier_values | array | ✅ Yes | Array of identifier values (email addresses or customer IDs). Maximum 25. |
Example requests & responses
Bulk remove users by email
{
"identifier_key": "email",
"identifier_values": [
"[email protected]",
"[email protected]",
"[email protected]"
]
}{
"status": "ok"
}Bulk remove users by customer ID
{
"identifier_key": "customer_id",
"identifier_values": [
"23a1fae1-2103-4e18-b58c-9db0ea9f7bf7",
"35b2gbf2-3214-5f29-c69d-0ec1fb0g8cg8",
"46c3hcg3-4325-6g30-d70e-1fd2gc1h9dh9"
]
}{
"status": "ok"
}