reset_passwords_batch
Reset passwords for multiple users from CSV input, with optional temporary flag and automatic random password generation for empty password fields.
Instructions
Reset passwords for multiple users from CSV text.
Each line should be: username,password If password column is empty, a random 12-char password is generated and included in the response (the caller cannot recover it otherwise). Caller-supplied passwords are never echoed back.
Args: csv_text: CSV text with username,password per line (header optional). temporary: If True, users must change password on next login.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_text | Yes | ||
| temporary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |