Delete Usergroup API


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

Sample Request

Syntax

For XML Response:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/Usergroup/delete?apikey=[ API Key ] &usergroupName= [ Group Name ]
http://[ APM Host ]:[ APM Port ]/AppManager/xml/Usergroup/delete?apikey=[ API Key ] &usergroupId=[ Group Id ]
For JSON Response:
http://[ APM Host ]:[ APM Port ]/AppManager/json/Usergroup/delete?apikey=[ API Key ] &usergroupName= [ Group Name ]
http://[ APM Host ]:[ APM Port ]/AppManager/json/Usergroup/delete?apikey=[ API Key ] &usergroupId=[ Group Id ]

Request Parameters

The parameters involved in executing this API request are:

Field Description
apikey The key generated using the Generate API Key option in the 'Admin' tab.
usergroupId The Id of the user group which is to be deleted.
usergroupName The name of the user group which is to be deleted.

Example

http://app-windows:5909/AppManager/xml/Usergroup/delete?apikey=b9a17b29f5883a2a454ab1711b9f12f9&usergroupName=sample

http://app-windows:5909/AppManager/xml/Usergroup/delete?apikey=b9a17b29f5883a2a454ab1711b9f12f9&usergroupId=1,2