security-set-user-password
Update Sitecore user passwords by specifying identity and new password, optionally requiring reset on next login or validating old password.
Instructions
Sets a new password for a Sitecore user.
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": {
"identity": "<identity>",
"newPassword": "<newPassword>"
},
"name": "security-set-user-password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identity | Yes | The identity of the user to update the password for (e.g. 'admin' or full path 'sitecore\admin') | |
| newPassword | Yes | The new password for the user | |
| resetPassword | No | If true, the user will be required to change password on next login | |
| oldPassword | No | The old password. If provided, it will be validated before setting the new password |