---
title: "POST /v1/{+database}/documents:rollback"
method: POST
path: "/v1/{+database}/documents:rollback"
tags: ["projects"]
---

# POST /v1/{+database}/documents:rollback

`POST /v1/{+database}/documents:rollback`

Rolls back a transaction.

## Path parameters

- `database` string, required

## Request body

- RollbackRequest — The request for Firestore.Rollback.
  - `requestOptions` RequestOptions — Options for a server request.
    - `requestTags` string[] — Optional. The request tags for the request.
  - `transaction` string, byte — Required. The transaction to roll back.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/firestore.md) · [All operations](https://skmtc.net/google/apis/firestore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/firestore/versions/11bc07a83431/schema)
