update_usersAdmin-only MCP tool.
Change existing user accounts. Only the properties you supply are changed.
Changing what someone can do is done by changing their groups, either here or with update_group_members, not by changing the account itself.
Two things to be careful of. Setting a password here replaces the existing one without the person being told, so they will be locked out until you tell them; the password reset link is usually the better route. Setting active to false stops the account logging in immediately, but leaves everything they created untouched and still visible.
You can use this tool to update a user who’s account is associated with an entry in an entries-are-users form, but only the user account fields will be available. If you use the update_entries tool to update the entry in the form that their account is associated with, you can update their user account fields and the form elements at the same time. Nothing gets out of step either way: an entry in such a form holds only a link to the account, not a copy of it, so the account details live in one place whichever route writes them.
| Property | Type | Required? | Description |
|---|---|---|---|
| users | array of object | Required | Required. The accounts to change, and what to change about each. |