Zabbix Documentation 2.0

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


manual:appendix:api:user:create

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:appendix:api:user:create [2014/09/26 11:28]
sasha Links adapted because of a move operation
manual:appendix:api:user:create [2019/01/28 14:49] (current)
sasha <code js> => <code java>
Line 15: Line 15:
 ^ Parameter ^ Type ^ Description ^ ^ Parameter ^ Type ^ Description ^
 | **passwd** \\ //​(required)//​ | string | User's password. | | **passwd** \\ //​(required)//​ | string | User's password. |
-| **usrgrps** \\ (required) | array | User groups to add the user to. \\ \\ The user groups must have the ''​usrgrp''​ property defined. |+| **usrgrps** \\ (required) | array | User groups to add the user to. \\ \\ The user groups must have the ''​usrgrpid''​ property defined. |
 | user_medias | array | Media to create for the user. \\ \\ The media ''​userid''​ property must not be defined. | | user_medias | array | Media to create for the user. \\ \\ The media ''​userid''​ property must not be defined. |
 ==== Return values ==== ==== Return values ====
Line 28: Line 28:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 56: Line 56:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​