Skip to main content
POST
/
v1
/
social
/
block
Block User
curl --request POST \
  --url https://api.warmyourx.com/v1/social/block \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'user_id=<string>' \
  --data 'cookies=<string>' \
  --data 'proxy=<string>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/x-www-form-urlencoded
user_id
string
required

User ID, username, or profile URL.

cookies
string
required

Raw Cookie header value.

proxy
string | null

Optional per-request proxy URL (overrides X_DEFAULT_PROXY from the environment when set). Example: http://user:pass@host:port

Response

Successful Response