latestOpenAPI 3.1.02026-08-171503582.2 MB
6199a9464227
Workflow Revisions
Update a workflow revision
Updates a draft workflow revision. Only revisions in Draft status can be updated. PUT semantics: send all fields; optional fields omitted or set to null are cleared. The checklist name template can include merge tag variables (e.g. {{workflow.name}}). Use the listWorkflowRevisionVariables endpoint to discover available variables. Returns the updated revision.
put/workflows/{workflowId}/revisions/{revisionId}
Path parameters
workflowIdstring required
The ID of the Workflow
revisionIdstring required
The ID of the Revision
Request body
Response
Example response
{
"data": {
"id": "iF2H8O21_rPMNj5U8hBJug",
"createdBy": {
"id": "naAJxoDIuwdgNsQHGRRGqA",
"email": "jane.doe@example.com",
"username": "Jane Doe"
},
"updatedBy": {
"id": "naAJxoDIuwdgNsQHGRRGqA",
"email": "jane.doe@example.com",
"username": "Jane Doe"
},
"workflowId": "iF2H8O21_rPMNj5U8hBJug"
},
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
}