Remove Post Or Comment
reddit.remove_thing
ActionChat & messagingconnection required
Calls the Reddit API with the connection's credentials.
Remove a post or comment from a subreddit you moderate.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"}
- Config it needs
- user_agent, subreddit
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
thing_id Fullname of the post or comment to act on, such as 't3_abc123' for a post or 't1_def456' for a comment. | string | Yes | — | — | t3_abc123 |
spam Remove as spam, which also trains the subreddit's spam filter. | boolean | No | false | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"spam": false,
"thing_id": "t3_abc123"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
removed True once Reddit accepted the removal. | boolean | — |
name Fullname of the removed thing. | string | — |
spam Whether it was removed as spam. | boolean | — |
{
"name": "",
"removed": false,
"spam": false
}Notes
- The connection's account must moderate the subreddit the thing is in.
See Remove Post Or Comment run in a workflow.
In a technical demo we add the Reddit connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.