reset_password
Change a FreeIPA user's password to regain or grant account access. Use the current password for self-service resets; administrators can set a new password without it.
Instructions
Reset a FreeIPA user's password. Requires the current password unless called by an admin with sufficient privileges using the admin API flow.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uid": "<uid>",
"new_password": "<new_password>"
},
"name": "reset_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The UID (login name) of the user whose password to reset | |
| new_password | Yes | The new password to set | |
| current_password | No | The user's current password (required when resetting your own password; admins may omit this) |