[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eThis endpoint allows for rolling back a transaction in a specified database.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to initiate the rollback is a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL, using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe database to be modified is specified in the URL's \u003ccode\u003edatabase\u003c/code\u003e path parameter, which requires a project and database identifier.\u003c/p\u003e\n"],["\u003cp\u003eThe request body is composed of a \u003ccode\u003etransaction\u003c/code\u003e field, which is a base64-encoded string identifying the specific transaction to be rolled back.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful rollback operations will return an empty JSON object in the response, and authentication requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/datastore\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.databases.documents.rollback\n\nRolls back a transaction.\n\n### HTTP request\n\n`POST https://firestore.googleapis.com/v1beta1/{database=projects/*/databases/*}/documents:rollback`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/datastore`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]