Reverts the Workflow to the current library template version, overwriting any local edits. The Workflow's code is preserved so it remains addressable at the same URL. Returns 400 if the Workflow was not imported from the library, or 404 if the Workflow or its source library template no longer exists.
Requires: Update on Workflows.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| code* | path string | |
Responses
200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found