Remove Thread

twist.remove_thread
ActionChat & messagingconnection required

Calls the Twist API with the connection's credentials.

Delete a thread and every comment on it, permanently.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Twist
Secret shape
{"access_token": "…"} — the token Twist's OAuth2 flow returns
Config it needs
workspace_id, channel_id
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
thread_id
The thread to act on, as returned by twist.add_thread or twist.get_threads.
stringYes——32038

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "thread_id": "32038"
}

Output

One shape.

result

FieldTypeExample
id
The thread that was removed.
number—
removed
True when Twist accepted the removal.
boolean—
status
The status Twist reported, when it reported one.
string—
{
  "id": 0,
  "removed": false,
  "status": ""
}

See Remove Thread run in a workflow.

In a technical demo we add the Twist connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.