Parameters
| Name | Type | Required | Description |
|---|---|---|---|
workflowId | string | Yes | Ocoya workflow ID. |
on | boolean | Yes | Whether the workflow should be enabled. |
Request example
{
"name": "ocoya_toggle_workflow",
"arguments": {
"workflowId": "cmajvvb9q0003ja5vh0538j6r",
"on": true
}
}Returns
Returns the workflow ID and enabled state.