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=[ Remove User ID ]

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:

Field Description
userId ID of the user whose detail is to be updated.
userName Username 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
associateGroupId ID of the user group to which the details are to be associated. The Group IDs should be separated by commas.
associateUserId ID of the user to which the details are to be associated. The User IDs should be separated by commas.
removeGroupId ID of the user group to which the details are to be removed. The Group IDs should be separated by commas.
removeUserId ID of the user to which the details are to be removed. The User IDs should be separated by commas.

Sample Request

For XML Response:

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

For JSON Response:

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