Skip to main content
DELETE
/
api
/
lists
/
{id}
/
columns
/
{colId}
Delete a list column
curl --request DELETE \
  --url https://app.puffle.ai/api/lists/{id}/columns/{colId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Overview

Cancels every persisted Trigger.dev run associated with this column (batched in groups of 50 via runs.cancel(), best-effort — individual failures are swallowed) and deletes the list_columns row. All list_cells / list_company_cells for the column are cascade-deleted. This is irreversible. Agents should confirm with the human before calling it on a column that contains user data.

AI agent notes

Idempotency. Deleting a column twice returns 404 on the second call. Cancellation of already-completed runs is a no-op.Run cancellation is best-effort. If a background task is in the middle of writing a cell, the cell write may still succeed before the task observes cancellation. Orphan cells are cleaned up by the cascade delete regardless.Before calling this endpoint on user data, either:
  1. Confirm with the human, or
  2. Export the column values first via the relevant list export endpoint.
Use POST /api/lists/{id}/columns/cleanup-previews instead if you only want to sweep orphan preview columns.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

List UUID. Must be owned by the caller.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
colId
string<uuid>
required

Column UUID. Must belong to the list at path param id.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Column deleted. Associated enrichment runs were cancelled (best-effort).

success
enum<boolean>
required
Available options:
true