跳转到主要内容
PUT
/
base
/
{baseId}
/
workflow
/
{workflowId}
cURL
curl --request PUT \
  --url http://127.0.0.1:3000/api/base/{baseId}/workflow/{workflowId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "trigger": {
    "type": "recordCreated",
    "name": "<string>",
    "description": "<string>",
    "config": "<unknown>"
  }
}
'

Authorizations

Authorization
string
header
required

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

Path Parameters

baseId
string
required
workflowId
string
required

Body

application/json
name
string
description
string
trigger
object

Response

200

Successful updated