propeller logo
API ReferenceTasksTask_id

Update Task

Update a task (e.g. set file as base64-encoded Wasm)

PUT
/tasks/{TASK_ID}

Path Parameters

TASK_ID*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PUT "http://localhost:7070/tasks/string" \  -H "Content-Type: application/json" \  -d '{    "name": "add",    "inputs": [      10,      20    ]  }'
Empty