轻流OA icon

轻流OA

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

通讯录 - 部门 → 删除部门

AI-generated

Summary

Delete a department by its Dept ID, optionally supporting batching and request timeout configurations.

Inputs

  • Dept ID (required) — The unique identifier of the department to delete, which can be obtained through the department list retrieval.
  • Options — Optional settings including batching (to enable concurrent deletion requests with configurable batch size and interval) and timeout (in milliseconds) to limit the request waiting time for the server response.

Output shape

a list of deletion result items matching the input items processed.

If batching is enabled, deletion requests are sent concurrently according to specified batch size and interval. Errors for individual items can be included if the node is set to continue on failure. No explicit structure of the result data is documented, but it's processed as JSON execution data per item.

Examples

Example 1: Delete a single department

Set 'Dept ID' to the target department's ID and leave options empty or with batching disabled.

Example 2: Delete multiple departments with concurrency

Provide multiple input items with 'Dept ID' set per item, enable batching in Options with desired batch size and interval to send parallel delete requests efficiently.

Links

Discussion