cURL
curl --request POST \ --url https://workflow-app.thena.ai/api/v1/workflows/{workflowUniqueIdentifier}/toggle \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "isActive": true } '
{ "success": true }
Enter your API key
is_active true activates the workflow, is_active false pauses the workflow
Operation successful
The success of the workflow deletion