Update an approval workflow
PUT/api/v1/ApprovalWorkflow
Saves an approval workflow with its tiers and approvers. The tiers you send replace the stored ones: tiers left out of the request are deleted, and each tier's approvers and approver groups are replaced by the ones you send. If no workflow with the given ID exists, a new one is created.
Permission required: Administrator or application role.
Values for progressionType (on each tier): 0 = Sequential, 1 = Concurrent.
Caution: The change takes effect immediately, and any tier you leave out of the request is deleted.
Request
Responses
- 200
- 400
The saved workflow is returned.
The workflow could not be saved; the body holds the reason.