# Web Services API: Cancel a request

**URL:** <https://discuss.workflowgen.com/t/web-services-api-cancel-a-request/321>\
**Category:** Web API\
**Created:** [February 20, 2014, 5:45am UTC](https://discuss.workflowgen.com/t/web-services-api-cancel-a-request/321 "2014-02-20T05:45:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [February 20, 2014, 5:45am UTC](https://discuss.workflowgen.com/t/web-services-api-cancel-a-request/321/1 "2014-02-20T05:45:47Z")

</div>

Since WorkflowGen version 5.6.4 the following web methods are available:

- `CancelProcessInstance`

- `CanCancelProcessInstance`

The parameters of those web methods are:

- `processInstanceId`: The request ID

- `isSuperUserMode`: A Boolean to indicate if the operation has to be done as a super user (admin, folder manager, or supervisor with the required rights)

- `isNotifyParticipant`: A Boolean to indicate if the participants of the request have to be notified of the cancellation

The user identity that calls the web method is used to check the usage rights.

As with other web methods, the `impersonateUsername` and `delegateUsername` optional parameters are supported.
