| Methods / Administrative Service | |
REST
POST
Removes a user's registration from the AgilePoint system. Note that this call does not remove the user from the local Windows system or the domain controller.
https://[domain]:[port]/AgilePointServer/Admin/UnregisterUser
https://[domain]:[port]/AgilePointService/Admin/UnregisterUser
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
userName |
|
$("#btnUnregisterUser").click(function () {
var JSONObject = { userName: "sg1" };
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/UnregisterUser",
data: JSON.stringify(JSONObject)
});
});
public String UnregisterUser(String userName) {
String URI = "http://mydomain:9011/AgilePointServer/Admin/UnregisterUser";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
try {
JSONObject postData = new JSONObject();
postData.put("userName", userName);
return ops.POSTMethod(URI, postData.toString());
} catch (JSONException e1) {
e1.printStackTrace();
}
return "";
}
public string UnregisterUser(string userName)
{
string URI = "http://mydomain:9011/AgilePointServer/Admin/UnregisterUser";
string jasonRequestData = "{\"userName\":\"" + userName + "\"}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URI, jasonRequestData);
}
None.
The response body is empty.
AgilePoint BPMS v5.0 R2 and higher