HigherData

HigherData / Tool

lists.rename

Rename a saved list. Dry run previews the name.

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

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

Input

lists.rename input
FieldTypeRequiredDescription
idstringyesSaved list id in the current space. UUID.
namestringyesNew name for the saved list. 1 to 80 characters.

Output

lists.rename output
FieldTypeRequiredDescription
executedbooleanyes
affectedintegeryesAt least 0.
namestringyes

Request

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

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

Example

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