cURL
curl --request POST \ --url https://api.neynar.com/v2/farcaster/ban/ \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "fids": [ 3 ] }'
{ "success": true, "message": "<string>" }
Bans a list of FIDs from the app associated with your API key. Banned users, their casts and reactions will not appear in feeds.
API key to authorize requests
Success
The response is of type object.
object
Was this page helpful?