飞连 icon

飞连

飞连开放平台 API 集成,支持部门与成员、Wi-Fi、终端管理

部门与成员 → 删除角色

AI-generated

Summary

Delete a role by its unique role ID in the 飞连 platform's Department and Member resource.

Inputs

  • 角色 ID (required) — The unique identifier of the role to delete, formatted as 'or_xxx'.
  • Options — Optional parameters to control batching behavior and request timeout. Includes 'Batching' options for concurrent requests (items per batch and interval between batches) and a 'Timeout' in milliseconds for server response wait time.

Output shape

a list of execution results for each processed input item, containing confirmation of deletion or error information if failures occur.

Supports processing multiple input items either serially or in parallel using batching options if enabled. Errors per item are reported in the output if 'continueOnFail' is set; otherwise, execution halts on error.

Examples

Example 1: Delete a single role by specifying its role ID.

Set Resource to '部门与成员', Operation to '删除角色', and provide the required role ID (e.g., 'or_12345').

Example 2: Delete multiple roles by passing multiple items with different role IDs and enable batching.

Provide multiple input items, each with a role ID. Enable batching with desired batch size and interval to make concurrent delete requests more efficient.

Links

Discussion