Unpublish
unpublishTake an item out of service. Confirm with the user before calling this.
By type: • workflow — the editor's "Pause workflow": status becomes paused and its triggers stop firing; the live version and the draft are kept, and publish resumes it. This is not the unpublish Stepper applies when a space's sharing narrows, which drops the live version. Runs in flight are not cancelled. Only a run that tries to advance while the workflow is paused parks ("Workflow Paused", pausedReason workflow_paused); a run sleeping on a delay, approval, retry or child run whose wake comes after the workflow is resumed carries on by itself. Publishing or resuming the workflow does not continue parked runs: resume the workflow first, then press Resume on each parked run's page in Stepper (pressed while the workflow is still paused, the run parks again at once). Tell the user before pausing a workflow with runs in progress. • form — disabled: respondents can no longer submit it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "unpublish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The form or workflow id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| record | No | ||
| unpublished | No |