cURL
curl --request PUT \ --url https://{api-address}.org.machina.gg/workflow/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-token: <api-key>' \ --data '{ "title": "<string>", "description": "<string>", "status": "active", "context": {}, "inputs": {}, "outputs": {} }'
{ "data": { "_id": "<string>", "name": "<string>", "title": "<string>", "description": "<string>", "status": "active", "updated": "<string>" }, "status": true }
Update an existing workflow by its ID.
API key authentication
Unique ID of the workflow to update
Workflow updated successfully
The response is of type object.
object