| Methods / Group, Role, and Rights | |
REST
POST
Removes a role from the AgilePoint system.
https://[domain]:[port]/AgilePointServer/Admin/RemoveRole/[roleName]
https://[domain]:[port]/AgilePointService/Admin/RemoveRole/[roleName]
| Name | Description |
|---|---|
roleName |
|
$("#btnRemoveRole").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/
RemoveRole/testRole"
});
});
public String RemoveRole(String roleName) {
String URI = "http://mydomain:9011/AgilePointServer/Admin/RemoveRole/"
+ roleName;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
JSONObject postData = new JSONObject();
return ops.POSTMethod(URI, postData.toString());
}
public string RemoveRole()
{
string URL = "http://mydomain:9011/AgilePointServer/Admin/
RemoveRole/myrole";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URL);
}
None.
The response body is empty.
AgilePoint BPMS v5.0 R2 and higher