| 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 URI = "https://mydomain:9011/AgilePointServer/Admin/UnregisterUser";
HTTPOperations ops = new HTTPOperations(domain, userName,
password, appID, locale);
JSONObject postData = new JSONObject();
postData.put("userName", "demo3\\administrator");
return ops.POSTMethod(URI, postData.toString());
return "";
}
public string UnregisterUser()
{
string URI = "https://mydomain:9011/AgilePointServer/Admin/UnregisterUser";
string jasonRequestData = "{\"userName\":\"" + "sg1" + "\"}";
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