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

# Attempt to rollback the publish transaction

`POST /rollback`

## Request

- Base URL: `/v1` (relative, and the document’s source URL is not known)
- URL: `/v1/rollback`
- Auth: none declared

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.dev/office-of-national-statistics/apis/florence-the-train.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/florence-the-train/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/florence-the-train/revisions/3610afa7d2a7?raw)
