v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1350180291.1 KB
projects

Rolls back a transaction, releasing any locks it holds. It's a good idea to call this for any transaction that includes one or more Read or ExecuteSql requests and ultimately decides not to commit. Rollback returns OK if it successfully aborts the transaction, the transaction was already aborted, or the transaction isn't found. Rollback never returns ABORTED.

post/v1/{+session}:rollback

Path parameters

sessionstring required

Required. The session in which the transaction to roll back is running.

Request body

transactionIdstring byte

Required. The transaction to roll back.

Response

Successful response