飞连 icon

飞连

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

部门与成员 → 删除角色成员

AI-generated

Summary

Removes the specified departments and/or users from a role in Feilian. Configure a role ID and provide one or more department IDs, user IDs, or both; the node sends a request for each incoming item.

Inputs

  • Role ID (required) — Feilian role ID in or_xxx format.
  • Department IDs — Optional comma-separated department IDs in od_xxx format.
  • User IDs — Optional comma-separated user IDs in ou_xxx format.
  • Options → Batching — Adding this option enables concurrent requests. Items per batch defaults to 50; batch interval defaults to 1000 ms between batches. A batch size of 0 is treated as 1.
  • Options → Timeout — Request timeout in milliseconds; 0 means no timeout.

Output shape

A list of n8n items containing the API response for each incoming item.

Requests run serially unless batching is enabled. With Continue On Fail enabled, failed requests produce items with an error field; otherwise an error stops execution.

Examples

Example 1: Remove several users from a role

Set the role ID and enter comma-separated user IDs; leave department IDs empty.

Example 2: Remove a department from a role

Set the role ID and enter the department ID in the department IDs field; leave user IDs empty.

Links

Discussion