跳转到主要内容
PUT
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
active
cURL
curl --request PUT \
  --url https://app.teable.ai/api/base/%7BbaseId%7D/workflow/%7BworkflowId%7D/active \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"method":"activate"}'

授权

Authorization
string
header
必填

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

路径参数

baseId
string
必填
workflowId
string
必填

请求体

application/json
method
enum<string>
必填

Method to update the workflow, activate: activate the workflow and apply any draft if exist, deactivate: deactivate the workflow, abort: abort the draft back to the last active workflow.

可用选项:
activate,
deactivate,
discard

响应

200

Successful updated

Last modified on March 5, 2026