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/25 14:42]
sasha Page moved from 2.0:manual:appendix:api:user:create to manual:appendix:api:user:create
manual:appendix:api:user:create [2019/01/28 14:49] (current)
sasha <code js> => <code java>
Line 11: Line 11:
 ''​(object/​array)''​ Users to create. ''​(object/​array)''​ Users to create.
  
-Additionally to the [[2.0:​manual:​appendix:​api:​user:​definitions#​user|standard user properties]],​ the method accepts the following parameters.+Additionally to the [[definitions#​user|standard user properties]],​ the method accepts the following parameters.
  
 ^ 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",​
Line 70: Line 70:
 ==== See also ==== ==== See also ====
  
-  * [[2.0:manual:​appendix:​api:​usermedia:​definitions#​media|Media]] +  * [[manual:​appendix:​api:​usermedia:​definitions#​media|Media]] 
-  * [[2.0:manual:​appendix:​api:​usergroup:​definitions#​user_group|User group]]+  * [[manual:​appendix:​api:​usergroup:​definitions#​user_group|User group]]