PUT
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
active
curl --request PUT \
  --url https://app.teable.cn/api/base/%7BbaseId%7D/workflow/%7BworkflowId%7D/active \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"method":"activate"}'

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
method
enum<string>
required

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.

Available options:
activate,
deactivate,
discard