Cancel Delegation

API Type

REST

HTTP Method

POST

Description

Cancels a currently operating delegation.

URL Format (On Premises)

https://[domain]:[port]/AgilePointServer/Admin/CancelDelegation/[delegationID]

URL Format (AgilePoint for Azure)

https://[domain]:[port]/AgilePointService/Admin/CancelDelegation/[delegationID]

Request Parameters

Name Description

delegationID

Definition:
The unique ID of a delegation object.
Type
string
Allowed Values:
A valid delegation ID.

JavaScript Code Example

$("#btnCancelDelegation").click(function () {
  $.ajax({
    url: "https://mydomain:9011/AgilePointServer/Admin/
                  CancelDelegation/CFF4B6D3DBF546A2B0423AD413A94420"
  });
});

Java Code Example

public String CancelDelegation() {

  String URI = "https://mydomain:9011/AgilePointServer/Admin/
                        CancelDelegation/CFF4B6D3DBF546A2B0423AD413A94420";

  HTTPOperations ops = new HTTPOperations(domain, userName, 
                       password, appID, locale);

  JSONObject postData = new JSONObject();

  return ops.POSTMethod(URI, postData.toString());
}

C# Code Example

public string CancelDelegation()
  {
    string URI = "https://mydomain:9011/AgilePointServer/Admin/
                         CancelDelegation/CFF4B6D3DBF546A2B0423AD413A94420";

    HTTPOperations ops = new HTTPOperations(domain, this.userName, 
                         password, appID, locale);

    return ops.POSTMethod(URI, "");
  }

Output

None.

JSON Response Body Example

The response body is empty.

Supported Versions

AgilePoint BPMS v5.0 R2 and higher