Block User by User ID
POST
/2/users/{id}/blockingCauses the user (in the path) to block the target user. The user (in the path) must match the user context authorizing the request
请求参数
Path 参数
id
必需
The ID of the user that is requesting to block the target user
Body 参数application/json
target_user_id
string
必需
正则匹配:
^[0-9]{1,19}$
示例
{
"target_user_id": "string"
}
示例代码
返回响应
The request was successful(200)
500(500)
The request was successful
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
No schema defined
示例
未设置
最后修改时间: 3 年前