| Methods / Group, Role, and Rights | |
REST
POST
Removes a member from a group.
https://[domain]:[port]/AgilePointServer/Admin/RemoveGroupMember
https://[domain]:[port]/AgilePointService/Admin/RemoveGroupMember
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
GroupName |
|
UserName |
|
These properties are based on the class RemoveGroupMemberHelper
$("#btnRemoveGroupMember").click(function () {
var JSONObject = {
GroupName: "test1234",
UserName: "demo3\\brian.lucas"
};
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/RemoveGroupMember",
data: JSON.stringify(JSONObject)
});
});
public String RemoveGroupMember(String GroupName, String UserName) {
String URI = "http://mydomain:9011/AgilePointServer/Admin/RemoveGroupMember";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
try {
JSONObject postData = new JSONObject();
postData.put("GroupName", GroupName);
postData.put("UserName", UserName);
return ops.POSTMethod(URI, postData.toString());
} catch (JSONException e1) {
e1.printStackTrace();
}
return "";
}
public string RemoveGroupMember(string username)
{
string URL = "http://mydomain:9011/AgilePointServer/Admin/RemoveGroupMember";
string jsonRequestData = "{
\"GroupName\":\"" + "Administrators" + "\",
\"UserName\":\"" + username + "\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URL, jsonRequestData);
}
None.
The response body is empty.
AgilePoint BPMS v5.0 R2 and higher