---
title: "Attempt to rollback the publish transaction"
method: POST
path: "/rollback"
tags: ["Publish"]
---

# Attempt to rollback the publish transaction

`POST /rollback`

Attemps to rollback the publish transaction if there has been an error.

## Query parameters

- `transactionId` string, required

## Response `200`

Sucessfully rolled back the publishing transaction

- Result
  - `message` string — message about the request result
  - `error` boolean — indicates if the request was successful
  - `transaction` object
    - `id` string — the created transaction ID
    - `status` string — the current status of the transaction
    - `startDate` string — the date the transaction of created
    - `uriInfos` string[] — URI information for this transaction
    - `uriDeletes` string[] — URI delete information for this transaction
    - `errors` string[] — error information for this transaction

## Other responses

- `400` — bad request
- `500` — internal server error

---

[API](https://skmtc.net/office-of-national-statistics/apis/florence-the-train.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/florence-the-train/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/florence-the-train/revisions/3610afa7d2a7/schema)
