Filter: gravityflow_rest_api_capability_cancel_workflow
Filters the capability required to cancel a workflow via the REST API.
Parameters
| Name | Type | Description |
|---|---|---|
| $capability | string|array | The capability required for this endpoint. |
| $request | \WP_REST_Request | Full data about the request. |
Since
Source
Defined in includes/rest-api/v2/controllers/class-controller-workflows.php at line 221