Update User Group API


Users Details

This API allows an admin user to update the details of a user group. Users other than admin can only access their own details.

Syntax:

For XML Response:

http://[ APM Host ]:[ APM Port ]/AppManager/xml/Usergroup/update?apikey=[ API Key ]&usergroupId= [ User Group Id ] &usergroupName=[ User Group Name ]&associateGroupId=[ associate Group Id ]&associateUserId= [ Associate User Id ]&removeGroupId= [ Remove Group Id ] &removeUserId= [ removeUserId ]

For JSON Response:

http://[ APM Host ]:[ APM Port ]/AppManager/json/Usergroup/update?apikey=[ API Key ]&usergroupId= [ User Group Id ] &usergroupName=[ User Group Name ]&associateGroupId=[ associate Group Id ]&associateUserId= [ Associate User Id ]&removeGroupId= [ Remove Group Id ] &removeUserId= [ Remove User Id ]

Request Parameters

The parameters involved in executing this API request are:

FieldDescription        
userId Id of the user whose detail is to be updated
userName The user name of the user whose detail is to be updated
apikey The key generated using the Generate API Key option in the 'Admin' tab.
usergroupId Id of the user group of which the details are to be updated
usergroupname Name of the user group of which the details are to be updated

Example

http://app-windows:5909/AppManager/xml/Usergroup/update?apikey=b9a17b29f5883a2a454ab1711b9f12f9&usergroupId=1&usergroupName=sampless&associateGroupId=10000019&associateUserId=4&removeGroupId=10011&removeUserId=5

http://app-windows:5909/AppManager/json/Usergroup/update?apikey=b9a17b29f5883a2a454ab1711b9f12f9&usergroupId=1&usergroupName=sampless&associateGroupId=10000019&associateUserId=4&removeGroupId=10011&removeUserId=5