---
id: "zh/api-post-nd-api-enterprise-remove-dep-mem"
title: "删除部门人员"
language: "zh"
description: "POST /nd/api/enterprise/remove_dep_mem：删除部门人员 接口说明，包含路径、方法、参数和返回信息。"
canonical_url: "https://www.babel.cc/public/babelwiki/zh/api-post-nd-api-enterprise-remove-dep-mem.html"
markdown_url: "https://www.babel.cc/public/babelwiki/ai/zh/api-post-nd-api-enterprise-remove-dep-mem.md"
alternates: {"en": "https://www.babel.cc/public/babelwiki/ai/en/api-post-nd-api-enterprise-remove-dep-mem.md", "zh": "https://www.babel.cc/public/babelwiki/ai/zh/api-post-nd-api-enterprise-remove-dep-mem.md"}
reading_note: "文档记录不等于当前部署能力；以实际版本、授权模块与配置为准。保留原文的可选、限制及待确认说明，勿补猜接口。 / Documentation is not a guarantee for every deployment. Preserve optional-module requirements, limitations and unresolved API contracts."
---

# 删除部门人员

| 属性 | 值 |
| --- | --- |
| HTTP 方法 | `POST` |
| 接口路径 | `/nd/api/enterprise/remove_dep_mem` |
| 所属分类 | 企业 API |

## 接口说明




#### POST 请求体参数

| 参数 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| `department_id` | `string` | 是 | 部门 ID |
| `user_ids` | `string[]` | 是 | 人员 ID 的 JSON 数组；参数名为 `user_ids`，不包含方括号，也不将数组编码为字符串。 |

请求示例（标识均为示例值）：

```json
{
  "department_id": "3001",
  "user_ids": ["2001", "2002"]
}
```

#### 返回字段说明

成功：

```json
{"code":0,"success":true}
```

失败：

```json
{"code":2,"success":false}
```

以上为已确认的业务结果标记；HTTP 状态及额外错误说明字段未提供，不能仅以 HTTP 请求完成判断业务成功。

## 调用说明

- 调用前需完成 [获取 token](https://www.babel.cc/public/babelwiki/zh/api-post-api-token-do.html) 或相应免登录认证，并在请求 Header 中携带 `Authorization: Bearer <access_token>`。
- 参数和返回字段如因部署版本存在差异，应以实际私有云 API 文档和联调结果为准。
- 所属分类：企业 API。
