PATCH
/api/im/admin/moderation/users/{id}/ban
Ban or unban a user (admin)
当前语言暂无代码示例
参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| banned | boolean | Y | — | |
| reason | string | N | — |
Try it out
Path Parameters
→ /api/im/admin/moderation/users/{id}/ban
Sign in to use your API key
Request Body
Response
Click Execute to test