---
title: "Rollback job"
method: POST
path: "/{env_id}/{flow_id}/{tenant}/jobs/rollback"
---

# Rollback job

`POST /{env_id}/{flow_id}/{tenant}/jobs/rollback`

Reset the the configuration to the state before a given job ran. This affects the `source state` (bookmarks) and the `snapshots`.

## Path parameters

- `env_id` string, required
- `flow_id` string, required
- `tenant` string, required

## Request body

- object
  - `job_root` string, required — S3 root for job
  - `tap` string, required — ID of tap
  - `job_id` string, required — ID of job

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/hotglue/apis/hotglue-api.md) · [All operations](https://skmtc.net/hotglue/apis/hotglue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hotglue/hotglue-api/revisions/30ff54d01ec0/schema)
