user_create
Create and configure new users in Zabbix by specifying username, password, user groups, and personal details. Returns JSON-formatted results for user creation.
Instructions
Create a new user in Zabbix.
Args:
username: Username
passwd: Password
usrgrps: List of user groups (format: [{"usrgrpid": "1"}])
name: First name
surname: Last name
email: Email address
Returns:
str: JSON formatted creation result
Input Schema
Name | Required | Description | Default |
---|---|---|---|
No | |||
name | No | ||
passwd | Yes | ||
surname | No | ||
username | Yes | ||
usrgrps | Yes |
Input Schema (JSON Schema)
{
"properties": {
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Email"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"passwd": {
"title": "Passwd",
"type": "string"
},
"surname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Surname"
},
"username": {
"title": "Username",
"type": "string"
},
"usrgrps": {
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"title": "Usrgrps",
"type": "array"
}
},
"required": [
"username",
"passwd",
"usrgrps"
],
"type": "object"
}