User Mod
user_modModify NAS user account details such as username, password, email, groups, and comments. Use this write operation to update existing user information on an fnOS NAS.
Instructions
修改 NAS 用户信息(写操作)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| user | Yes | 用户名 | |
| No | 邮箱 | ||
| groups | No | 所属用户组列表(覆盖) | |
| scheme | No | 传输协议 | |
| comment | No | 备注 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| new_name | No | 新用户名 | |
| password | No | 新密码 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |