飞书 icon

飞书

飞书 API 集成,支持多种飞书功能

Actions105

组织架构 → 更新员工信息

AI-generated

Summary

Update employee information in Feishu's organizational directory using specified employee ID and ID type, with optional fields for selective update.

Inputs

  • 凭证类型 — Select credential type: user-level or application-level credential (default: application-level).
  • 员工 ID (required) — Employee identifier matching the selected employee ID type.
  • 员工 ID 类型 (required) — Type of employee ID provided: Open ID, Union ID, or Employee ID.
  • 部门 ID 类型 — Department ID type used in the API call: Open Department ID or Department ID.
  • Update Fields — Collection of employee information fields to update. Fields not added will not be modified; added fields left empty will be cleared; added fields with values will update accordingly. Supports properties like name, alias, mobile, email, job number, join date, gender, leader IDs, work location, resignation details, and account freeze status.
  • 其他请求体参数 — Additional JSON body parameters to include as part of the employee object for update. Fields set here are overridden by those specified in Update Fields if there is a conflict.
  • Options — Optional parameters including UAT authentication identity (normal employee or admin) and batching options such as items per batch and batch interval, plus timeout for requests.

Output shape

a list with update results per input item

Supports batch updating of multiple employees with optional concurrent execution controlled by batching settings. Returns execution metadata including any errors per item if continue on fail is enabled.

Links

Discussion