拉黑某个用户

  • 接口说明: 拉黑某个用户
  • 接口地址: /users/{id}/deny
  • 请求方式: POST

请求参数

返回说明

  • 返回当前创建成功数据, http 状态码: 201

返回结果

返回示例

  1. {
  2. "data": {
  3. "type": "users",
  4. "id": "1",
  5. "attributes": {
  6. "id": 1,
  7. "username": "username",
  8. "mobile": "mobile",
  9. "avatarUrl": "",
  10. "threadCount": 34,
  11. "followCount": 0,
  12. "fansCount": 0,
  13. "follow": null,
  14. "status": 0,
  15. "loginAt": "2020-02-19T10:15:17+08:00",
  16. "joinedAt": "2019-12-16T19:41:17+08:00",
  17. "expiredAt": "2020-02-19T18:26:52+08:00",
  18. "createdAt": "2019-12-16T19:41:17+08:00",
  19. "updatedAt": "2020-02-19T10:15:17+08:00",
  20. "canEdit": true,
  21. "canDelete": true,
  22. "canWalletPay": false,
  23. "registerReason": "",
  24. "banReason": "",
  25. "originalMobile": "originalMobile",
  26. "registerIp": "192.168.10.1",
  27. "lastLoginIp": "192.168.10.1",
  28. "identity": "",
  29. "realname": "",
  30. "hasPassword": false,
  31. "walletBalance": "6.00",
  32. "paid": true,
  33. "payTime": null,
  34. "unreadNotifications": 8,
  35. "typeUnreadNotifications": {
  36. "replied": 8
  37. }
  38. }
  39. }
  40. }