批量删除用户
接口概述#
- 功能:批量删除用户
- 请求方式: POST
- 请求地址:/api/contacts/teams/{team_id}/users/batchDelete
请求参数#
| 参数名 | 类型 | 必须 | 参数位置 | 描述 | 示例值 |
|---|---|---|---|---|---|
| team_id | integer | 是 | uri | 团队ID | 30 |
| user_ids | array[integer] | 是 | body | 用户ID | [60000208205,60000208206] |
响应参数#
无
响应示例#
- 请求成功
{ "code": "OK", "error": { "type": "" }, "data": {}, "request_id": "5797836d-a88e-44ef-afd4-56b25d810214"}- 请求失败
{ "code": "NotFound", "error": { "type": "contacts_group_not_found" }, "data": {}, "request_id": "6cf30c83-a691-40af-b27c-c1dd9b3c9e80"}错误码#
| error.type 错误代码 | 错误描述 |
|---|---|
| contacts_user_not_found | 用户不存在 |
| invalid_param | 参数错误 |
| claim_error | 无权限 |