PUT
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
logic
/
{logicId}
curl --request PUT \
  --url https://app.teable.cn/api/base/%7BbaseId%7D/workflow/%7BworkflowId%7D/logic/%7BlogicId%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"name":"string","description":"string","config":null}'
{
  "name": "<string>",
  "description": "<string>",
  "config": {
    "conditions": {}
  },
  "id": "<string>",
  "category": "logic",
  "testResult": {
    "spent": 123,
    "inputRaw": "<any>",
    "outputRaw": "<any>",
    "inputVariables": {},
    "outputVariables": {},
    "errorMsg": "<string>",
    "createdTime": "<string>"
  },
  "outputVariables": {},
  "inputVariables": {},
  "createdTime": "<string>",
  "lastModifiedTime": "<string>",
  "type": "condition"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - application/json
Successful updated

The response is of type object.