飞连 icon

飞连

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

部门与成员 → 更新角色成员

AI-generated

Summary

Update members assigned to a role, with optional effective and expiration timestamps. The node can process incoming items serially or enable batched concurrent requests through Options.

Inputs

  • 角色 ID (required) — Role ID in the or_xxx format.
  • 用户 ID 列表 — User IDs in the ou_xxx format, separated by English commas.
  • 生效开始时间 — Unix timestamp in seconds. A value of 0 means this parameter is not sent; the UI description says the change takes effect from the current time by default.
  • 生效结束时间 — Unix timestamp in seconds. A value of 0 means the role assignment is permanent.
  • Options — Batching enables concurrent requests, with a default batch size of 50 and a 1000 ms interval between batches. Timeout sets the time in milliseconds to wait for response headers; 0 means no timeout.

Output shape

A list of n8n items containing the operation response, typically one per processed input item.

Requests run serially unless Batching is added under Options. With batching enabled, requests run concurrently and results are collected in input order. If Continue On Fail is enabled, failed requests produce items with an error field. The precise response fields depend on the API response.

Links

Discussion