workflow_reject

Management

Reject Workflow Node

Reject a pending human-approval node in a running workflow. Args: - workflow_id: required - workflow_job_id: required — the workflow job awaiting approval - node_id: required — the gate node to reject - team_id, project_id: required for OAuth callers Returns: the rejection result. Example: "Reject this workflow node" -> workflow_id="workflow_xxx", workflow_job_id="job_xxx", node_id="node_xxx"
open-world

Parameters

NameTypeRequiredDescription
workflow_idstringWorkflow ID.
workflow_job_idstringJob ID.
node_idstringNode ID.
team_idstringTeam ID. Required if user belongs to multiple teams.
project_idstringProject ID to scope the operation to.
response_formatenum(json | markdown)jsonOutput format: 'json' for structured data, 'markdown' for human-readable text.