This API allows an admin user to update the details of a user group. Users other than admin can only access their own details.
For XML Response:
https://[HOST]:[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:
https://[HOST]:[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 ]
Supported HTTP methods: POST
Allowed roles: Administrator
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 Settings 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. |
For XML Response:
https://apm-prod-server:8443/AppManager/xml/Usergroup/update?apikey=aaaaaabbbbbbccccccddddddeeeeee&usergroupId=1&usergroupName=sampless&associateGroupId=10000019&associateUserId=4&removeGroupId=10011&removeUserId=5
For JSON Response:
https://apm-prod-server:8443/AppManager/json/Usergroup/update?apikey=aaaaaabbbbbbccccccddddddeeeeee&usergroupId=1&usergroupName=sampless&associateGroupId=10000019&associateUserId=4&removeGroupId=10011&removeUserId=5