Actions45
- 部门与成员 Actions
- Wi-Fi Actions
- 终端管理 Actions
- 软件管理 Actions
软件管理 → 添加软件许可授权对象
AI-generatedSummary
Adds users, departments, roles, and devices as authorization targets for a software license management item. Each input item triggers a request; optional batching enables concurrent requests in batches.
Inputs
- 许可管理项 ID (id) (required) — ID of the software license management item.
- 授权用户列表 (user_ids) — User IDs, up to 50. Accepts comma-separated IDs, a JSON array, or an expression array; the declared ID format is ou_xxx.
- 授权部门列表 (department_ids) — Department IDs, up to 50. Accepts comma-separated IDs, a JSON array, or an expression array; the declared ID format is od_xxx.
- 授权角色列表 (role_ids) — Role IDs, up to 50. Accepts comma-separated IDs, a JSON array, or an expression array; the declared ID format is or_xxx.
- 授权设备列表 (device_ids) — Device IDs, up to 50. Accepts comma-separated IDs, a JSON array, or an expression array.
- Batching — Adding this option enables concurrent requests. Items per batch defaults to 50; batch interval defaults to 1000 ms. A zero batch size is treated as 1, and a zero interval disables the delay between batches.
- Timeout — Request timeout in milliseconds; 0 means no timeout.
Output shape
A single output containing the API response for each input item.
With batching disabled, requests run serially; enabling batching runs them concurrently and preserves result processing by input item. If Continue On Fail is enabled, failed requests produce items containing an error message.
Examples
Example 1: Grant a license to selected targets
Provide the license management item ID and the relevant user, department, role, or device IDs. Use batching when processing multiple input items.