轻流OA icon

轻流OA

轻流OA API集成,支持通讯录、任务委托、应用管理、数据操作等功能

通讯录 - 部门 → 移除部门成员

AI-generated

Summary

Remove specified users from a department in the Qingflow OA system by providing the department ID and a list of user IDs to remove.

Inputs

  • Dept ID (required) — The department ID from which members will be removed, typically obtained from the department list.
  • Body (required) — JSON request body containing mandatory fields: deptId (integer) specifying the department and userIds (array) listing the IDs of users to be removed from the department.
  • Options — Optional settings including batching (to enable concurrent requests with configurable batch size and interval) and timeout (maximum wait time for server response header before aborting).

Output shape

a list of items representing the operation responses; can handle multiple responses or errors per input item with optional batch processing

Supports optional batching for parallel execution with control over batch size and interval. Errors for individual items can be included if 'continue on fail' is enabled. Output data is processed for multiple output scenarios if returned by the API.

Examples

Example 1: Remove multiple users from a specific department by providing deptId and userIds array in the Body parameter.

Set 'Dept ID' with target department ID, set 'Body' JSON with same deptId and an array of userIds to remove; optionally configure batching under 'Options' for concurrency control.

Links

Discussion