> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Farcaster Cast

Delete a Farcaster cast via Neynar API. Requires a connected Farcaster account with signer. Only the cast author can delete it. Ideal for: content moderation, automated cleanup, removing outdated announcements.

![Delete Farcaster Cast logo](https://ai-icon.b3.fun/logo/farcaster)
Catalog action Social farcaster

Delete a Farcaster cast via Neynar API. Requires a connected Farcaster account with signer. Only the cast author can delete it. Ideal for: content moderation, automated cleanup, removing outdated announcements.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `delete-farcaster-cast` |
| Category | Social |
| Connector | `farcaster` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `social`, `farcaster`, `neynar`, `cast`, `delete`, `write` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `castHash` | `string` | Yes | Hash of the cast to delete |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | `string` | Yes | Status of the delete operation |
| `deletedCastHash` | `string` | No | Hash of the deleted cast |
| `error` | `string` | No | Error message if the delete failed |

## Examples

**Workflow node**

```json
{
  "type": "delete-farcaster-cast",
  "payload": {
    "castHash": "example-castHash"
  },
  "children": [],
  "connector": {
    "type": "farcaster",
    "id": "conn_farcaster"
  }
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/delete-farcaster-cast/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "castHash": "example-castHash"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.