Ziwako Docs
Ziwako AI (Mayele)Référence APIWorkflows

Update workflow

PATCH
/workflows/{id}

Authorization

AccessToken
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/workflows/string" \  -H "Content-Type: application/json" \  -d '{    "userId": "string",    "name": "string"  }'
{  "status": 0,  "message": "string",  "data": {    "userId": "string",    "name": "string",    "description": "",    "trigger": {      "type": "manual",      "config": {}    },    "nodes": [      {}    ],    "edges": [      {}    ],    "status": "active",    "externalTriggerId": null,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "id": "string"  },  "type": "string",  "code": "string"}