DELETEhttps://api.account.tencentid.com/openapi/v3/contacts/departments/{department_id}名称 | 类型 | 必填 | 描述 |
Authorization | string | 是 | 值格式: Bearer {{access_token}} 支持鉴权类型: |
Content-Type | string | 是 | 固定值: application/json; charset=utf-8 |
名称 | 类型 | 必填 | 描述 |
department_id | string | 是 | 部门 ID 示例值:"15039************38" |
参数名称 | 类型 | 描述 |
trace_id | string | 唯一请求 ID |
data | - | 在该接口中,无论调用成功与否,data 均返回 null |
DELETE https://api.account.tencentid.com/openapi/v3/contacts/departments/15039************38Authorization: Bearer {access_token}
{"code": 0,"msg": "ok","trace_id": "cd7c40832c0c2a8a059f38c39e03d792","data": null}
错误码 | 描述 |
201001 | 部门【%s】不存在 |
201004 | 部门【%v】不为空 |
201013 | 部门【%v】下存在子部门 |
201014 | 部门【%v】下存在用户 |
201008 | 组织单元【%v】根部门,不允许更新 |
文档反馈