Farcaster API
Delete Cast
- API Keys
- Blog
- Community
Farcaster Development Kit
- Getting Started
- GETCast by Hash
- GETCasts
- POSTSend Cast
- DELDelete Cast
- POSTAdd Reaction to Cast
- DELDelete Reaction to Cast
- GETChannels List
- GETChannel By Name
- POSTFollow FID
- DELUnfollow FID
- GETUser By FID
- GETUsers
- Getting Started
- POSTSigners
- POSTRegister Signer with Warpcast
- POSTPoll Warpcast Signer
- GETGet Signers
Info
Casts
Reactions
Links
User Data
Username Proofs
Verifications
FIDs
Storage
Onchain API
Events
Dev Tools
Farcaster API
Farcaster Auth
Hub API Reference
Farcaster API
Delete Cast
DELETE
/
casts
/
{hash}
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
hash
string
*
hash
Required
string
Hash for the cast to be deleted
Add Example Value
signerId
string
*
signerId
Required
string
Signer ID for the author of the cast
Add Example Value
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
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
hash
string
requiredHash for the cast to be deleted
Query Parameters
signerId
string
requiredSigner ID for the author of the cast
Response
200 - application/json
The response is of type object
.
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=="
}
}