Summary
Revert a Job
Description
Revert a paused 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 id of the Job to be reverted. |
fromTask | string | yes | The id of the Task to revert the Job from. |
toTask | string | yes | The id of the Task to revert the Job to. (Must be in a completed status) |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
result | object | The result of the revert operation. |