DELETE
/
casts
/
{hash}
curl --request DELETE \
  --url https://api.pinata.cloud/v3/farcaster/casts/{hash} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "data": {
      "type": "MESSAGE_TYPE_CAST_REMOVE",
      "fid": 401191,
      "timestamp": 102563506,
      "network": "FARCASTER_NETWORK_MAINNET",
      "castAddBody": {
        "embedsDeprecated": null,
        "mentions": null
      }
    },
    "hash": "0x1ccade8ff46e21ddca30fdcbe0630265e2da9c7e",
    "hashScheme": "HASH_SCHEME_BLAKE3",
    "signature": "9byndiIE1CL62dYMhcsEQLxIKa1m4r+3Q3XZJpxFBwxn/CL+qHohD7ugFl3yru5ng3p08RJRbo+xzYYFtQqaDw==",
    "signatureScheme": "SIGNATURE_SCHEME_ED25519",
    "signer": "0x86367a36c3c181c46acdc6027109dbaa75c5fbc97c500af23f1ea8c987f12375",
    "dataBytes": "CAIQp74YGLL98zAgATIWChT02hC34TkNe0h+5tND9R6QYSElYw=="
  }
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

hash
string
required

Hash for the cast to be deleted

Query Parameters

signerId
string
required

Signer ID for the author of the cast

Response

200 - application/json

The response is of type object.