HigherData

HigherData / Tool

lists.delete

Delete a saved list and its membership and refresh history. Records and CRM data are unchanged. Dry run previews the deletion.

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.delete?execute=false. The same call is POST /api/v1/lists/delete?execute=false.

MCP tool name: lists_delete. It is in the default MCP catalog when your scopes allow it.

Input

lists.delete input
FieldTypeRequiredDescription
idstringyesSaved list id in the current space. UUID.

Output

lists.delete output
FieldTypeRequiredDescription
executedbooleanyes
affectedintegeryesAt least 0.
namestringyes

Request

curl -sS -X POST "https://higherdata.io/api/v1/tools/lists.delete?execute=false" \
  -H "Authorization: Bearer hd_example_replace_me" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "11111111-1111-4111-8111-111111111111"
}'

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.delete", {
  "id": "11111111-1111-4111-8111-111111111111"
}, { execute: false });

Example

{
  "input": {
    "id": "11111111-1111-4111-8111-111111111111"
  },
  "output": {
    "executed": false,
    "affected": 1,
    "name": "Acme prospects"
  }
}