Summary
Revert a job from an errored task to a previously completed task
Description
Revert a job from an errored task to a previously completed task
Route
POST /operations-manager/jobs/:jobId/revert
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
Name | Type | Required | Description |
---|---|---|---|
jobId | string | yes | The identifier of the job to be reverted |
fromTask | string | yes | The identifier of the task to revert the job from |
toTask | string | yes | The identifier of the task to revert the job to. Must be in a completed status. |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
result | object | Result of the revert operation |