Create User API


This API will allow admin to create a new user.

Sample Request

For XML Response: http://[ APM Host ]:[ APM Port ]/AppManager/xml/Users/create?apikey=[ API Key ]&userName=[name]&role=[role]&password=[password] For JSON Response: http://[ APM Host ]:[ APM Port ]/AppManager/json/Users/create?apikey=[ API Key ]&userName=[name]&role=[role]&password=[password]  

Request Parameters

The parameters involved in the API request are described below:

FieldDescription
userName The user name of the user.
role User group of the new user.
password Password of the new user.
email (optional) Email id of the user.
description (optional) Description of the user.
groupId (optional) Group id of the monitor groups to which the user needs to be associated. The group ids should be comma separated.
groupName (optional) Name of a monitor group to which the user needs to be associated. If groupId is provided this parameter will be ignored.

Sample Response:

<AppManager-response uri="/AppManager/xml/users/create"> <result> <response response-code="4000"> <User email="manager" userId="6" description="manager" userName="manager" role="MANAGER"> <AssociatedGroups groupId="10000035" groupName="Applications Manager"/> <AssociatedGroups groupId="10000037" groupName="mg1"/> <AssociatedGroups groupId="10000038" groupName="mg2"/> </User> </response> </result> </AppManager-response>