Skip to main content
POST
Ban FIDs from app

Node.js SDK

🔗 SDK Method: publishBans Use this API endpoint with the Neynar Node.js SDK for typed responses and better developer experience.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json
fids
integer<int32>[]
required

The unique identifier of a farcaster user or app (unsigned integer)

Required range: x >= 0

Response

Success

success
boolean
required
Example:

true

message
string | null