HigherData / Tool
lists.remove
Remove up to 50 saved row ids from a list. A later dynamic refresh may add matching records again. Dry run previews the removal count.
Scopes: data:read, data:write
Send execute false to preview the change. Send execute true to write it. A preview does not change stored data.
REST: POST /api/v1/tools/lists.remove?execute=false. The same call is POST /api/v1/lists/remove?execute=false.
MCP tool name: lists_remove. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Saved list id in the current space. UUID. |
| ids | array | yes | Saved row ids returned by lists.get, at most 50 per call. 1 to 50 items. Each item: UUID. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| executed | boolean | yes | |
| affected | integer | yes | At least 0. |
| name | string | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/lists.remove?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"id": "11111111-1111-4111-8111-111111111111",
"ids": [
"22222222-2222-4222-8222-222222222222"
]
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("lists.remove", {
"id": "11111111-1111-4111-8111-111111111111",
"ids": [
"22222222-2222-4222-8222-222222222222"
]
}, { execute: false });Example
{
"input": {
"id": "11111111-1111-4111-8111-111111111111",
"ids": [
"22222222-2222-4222-8222-222222222222"
]
},
"output": {
"executed": false,
"affected": 1,
"name": "Acme prospects"
}
}