User Update
user_updateUpdates an existing Zabbix user account by changing only specified fields such as name, surname, password, or role.
Instructions
Update an existing user in Zabbix.
Modifies properties of an existing user account. You can change name, surname, password, or role. Only specify the fields you want to change.
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": {
"userid": "<userid>"
},
"name": "user_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New first name. | |
| passwd | No | New password. | |
| roleid | No | ID of the user's role, which is what grants permissions. Roles are objects in Zabbix 5.2+; the old numeric user 'type' no longer exists. | |
| userid | Yes | ID of the user to update. | |
| surname | No | New last name. | |
| username | No | New username (not recommended - can cause issues). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||