update_user
Update an existing pfSense user by ID. Change username, password, privileges, description, expiration, disabled status, IPsec PSK, or SSH keys.
Instructions
Update an existing pfSense local user by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Username (login name) | |
| priv | No | List of privileges to assign (replaces existing) | |
| descr | No | User description / full name | |
| expires | No | Account expiration date (MM/DD/YYYY format) | |
| user_id | Yes | User ID (array index from search_users) | |
| disabled | No | Whether the user account is disabled | |
| ipsecpsk | No | IPsec Pre-Shared Key | |
| password | No | New password | |
| authorizedkeys | No | SSH authorized public keys (base64 encoded) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||