Parameters
| Name | Type | Required | Description |
|---|---|---|---|
workflowId | string | Yes | ID del workflow di Ocoya. |
on | boolean | Yes | Indica se il workflow deve essere abilitato. |
Request example
{
"name": "ocoya_toggle_workflow",
"arguments": {
"workflowId": "cmajvvb9q0003ja5vh0538j6r",
"on": true
}
}Returns
Restituisce l’ID del workflow e il relativo stato di abilitazione.