Block User - Revadike/InternalSteamWebAPI GitHub Wiki
POST /actions/BlockUserAjax
Blocks or unblocks all communication with another Steam user.
Rate limits
No known rate limit
Request
Authenticated: Yes
Method:
POSTHost:
steamcommunity.comPath:
/actions/BlockUserAjaxForm Data:
Name Type Required Description
| sessionid | string | Yes | The value of the sessionid cookie |
|
steamid| string | Yes | The 64-bit SteamID of the user to block or unblock | |block| number | Yes |1to block all communication with the user,0to unblock |
Response
200 OK
Name Type Description successboolean Whether the request was successful
400 Bad Request
The response body is
falsewhen thesteamidis invalid.
Example
POST https://steamcommunity.com/actions/BlockUserAjax { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", steamid: "0", block: 1 }
false