Skip to main content
POST
/
block
Block user
curl --request POST \
  --url https://api.snipp.gg/block \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "targetId": "<string>"
}
'
{
  "blocked": true,
  "message": "<string>"
}

Authorizations

api-key
string
header
required

Your API key from Snipp.gg

Body

application/json
targetId
string
required

The user ID to block

Response

Block status

blocked
boolean
message
string | null